DatabaseExtensionsToNullable Method

Overload List

ToNullableT(Object) This is used to convert objects to null values if they are equal to null, DBNull.Value, or the default value for the given type.
ToNullableT(T) This is used to convert value types to null values if they are set to their default value for the type (i.e. zero for integers, DateTime.MinValue for date/times, etc).

See Also