Checks the database value for null.
Namespace:
Bespoke.Common.Data
Assembly:
Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)
Syntax
C# |
---|
public static T CheckDBNull<T>(
Object value
)
|
Visual Basic (Declaration) |
---|
Public Shared Function CheckDBNull(Of T) ( _
value As Object _
) As T |
Visual C++ |
---|
public:
generic<typename T>
static T CheckDBNull(
Object^ value
) |
Type Parameters
Return Value
Returns the devault value for the property type if
the value is null, otherwise returns the database value.
See Also