SQL Server and .Net Data Type mapping

SQL Server data typeCLR data type (.NET Framework)
varbinaryByte[]
binaryByte[]
varbinary(1), binary(1)byte, Byte[]
nvarchar(1), nchar(1)Char, String, Char[]
nvarchar / ncharString, Char[]
uniqueidentifierGuid
bitBoolean
tinyintByte
smallintInt16
intInt32
bigintInt64
smallmoneyDecimal
moneyDecimal
numericDecimal
decimalDecimal
realSingle
floatDouble
smalldatetimeDateTime
datetimeDateTime
참조 : https://stackoverflow.com/questions/425389/c-sharp-equivalent-of-sql-server-datatypes