最全的MySql和C#数据类型对应表

Mysql和C#数据类型对应表 :

 

MySql C#
bigint long
bigint unsigned ulong
int int
int unsigned uint
smallint short
smallint unsigned ushort
guid Guid
smalldatetime DateTime
date DateTime
datetime DateTime
timestamp DateTime
float float
double double
numeric decimal
smallmoney decimal
decimal decimal
money decimal
bit bool
bool bool
boolean bool
tinyint SByte
tinyint unsigned sbyte
image byte[]
binary byte[]
blob byte[]
mediumblob byte[]
longblob byte[]
varbinary byte[]

上一篇:mysql第二天初学小结


下一篇:js中货币格式化两种方法