mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
mysql uint bug
This commit is contained in:
@@ -58,6 +58,16 @@ namespace OrmTest
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
Db.CodeFirst.InitTables<UnitUint>();
|
||||
Db.Insertable(new UnitUint { Id= 3833200526 }).ExecuteCommand();
|
||||
var list3=Db.Queryable<UnitUint>().ToList();
|
||||
|
||||
}
|
||||
|
||||
public class UnitUint
|
||||
{
|
||||
[SugarColumn(ColumnDataType = "int unsigned")]
|
||||
public uint Id { get; set; }
|
||||
}
|
||||
|
||||
[SugarTable("UnitTest0123", IsCreateTableFiledSort= true)]
|
||||
|
Reference in New Issue
Block a user