If you have a column type of sql_variant, ORM.NET
generates code and converts this to a System.xxx .Net
type, instead of converting it to a
System.Data.SqlTypes type.
Some types are interchangeable (i.e. System.String and
System.Data.SqlTypes.SqlString). However others are
not (i.e. System.DateTime and SqlDateTime).
Would be nice if ORM.NET was consistent and converted
all sql_variant data to System.Data.SqlTypes as well.
Thanks Much,
John Pequeno