好记性不如烂笔头。

SQL中数据类型对应C


bigint=Int64
binary=Byte[]
bit=Boolean
char=String
datetime=DateTime
decimal=Decimal
float=Double
image=Byte[]
int=Int32
money=Decimal
nchar=String
ntext=String
numeric=Decimal
nvarchar=String
real=Single
rowversion=Byte[]
smalldatetime=DateTime
smallint=Int16
smallmoney=Decimal
sql_variant=Object
text=String
timestamp=Byte[]
tinyint=Byte
uniqueidentifier=Guid
varbinary=Byte[]
varchar=String
xml=Xml