问题
What value in the SqlDbType
enumeration should I use for the numeric
T-SQL data type?
回答1:
Decimal.
See this page: http://msdn.microsoft.com/en-us/library/system.data.sqltypes.aspx
回答2:
I'm pretty sure that SqlDbType.Decimal
is the closest.
- SQL Server Data Type Mappings
来源:https://stackoverflow.com/questions/1604110/sqldbtype-enumeration-mapping-c-sharp