Browse Source

Merge pull request #1173 from sunny1028/master

fix mysql数据库无符号的int类型会被映射成object
pull/40/head
果糖网 1 year ago
committed by GitHub
parent
commit
352cc2c55a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Src/Asp.NetCore2/SqlSugar/Realization/MySql/DbBind/MySqlDbBind.cs

1
Src/Asp.NetCore2/SqlSugar/Realization/MySql/DbBind/MySqlDbBind.cs

@ -47,6 +47,7 @@ namespace SqlSugar
new KeyValuePair<string, CSharpDataType>("int",CSharpDataType.@int),
new KeyValuePair<string, CSharpDataType>("mediumint",CSharpDataType.@int),
new KeyValuePair<string, CSharpDataType>("integer",CSharpDataType.@int),
new KeyValuePair<string, CSharpDataType>("int unsigned",CSharpDataType.@int),
new KeyValuePair<string, CSharpDataType>("varchar",CSharpDataType.@string),
new KeyValuePair<string, CSharpDataType>("text",CSharpDataType.@string),

Loading…
Cancel
Save