最全的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[] |
本文来自博客园,作者:willamyao,转载请注明原文链接:https://www.cnblogs.com/robertyao/p/15226127.html
代码改变世界