Persist.NET Documentation Class Library

EmptyDateTimeConverter.ConvertFrom Method 

Return System.DBNull.Value if parameter equal DateTime.MinValue

[Visual Basic]
NotOverridable Public Function ConvertFrom( _
   ByVal obj As Object _
) As Object Implements _
   IConverter.ConvertFrom
[C#]
public object ConvertFrom(
   object obj
);

Parameters

obj
the object to convert

Return Value

a valid DateTime or System.DBNull.Value

Implements

IConverter.ConvertFrom

See Also

EmptyDateTimeConverter Class | Persist.Converters Namespace