![](https://pic002.cnblogs.com/img/shikiro/201006/2010062115091313.gif)
SQLServer CodeSmith C#
bigint Int64 Int64
binary Binary System.Byte[]
bit Boolean bool
char AnsiString string
datetime DateTime string
decimal Decimal Decimal
float Double Double
image Binary System.Byte[]
int Int32 int
money Currency Single
nchar StringFixedLength string
ntext String string
numeric Decimal Decimal
nvarchar String string
real Single Single
smalldatetime DateTime string
smallint Int16 Int16
smallmoney Currency Single
sql_variant Object Object
text AnsiString string
timestamp Binary System.Byte[]
tinyint Byte Byte
uniqueidentifier Guid System.Guid
varbinary Binary System.Byte[]
varchar AnsiString string