Menu

#15 sql_variant type converted to .NET types

V1.7.2
open
nobody
5
2006-05-03
2006-05-03
No

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

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.