mysql uint bug

This commit is contained in:
sunkaixuan
2022-09-30 15:49:08 +08:00
parent 112f67c9b8
commit e725ba1360
2 changed files with 12 additions and 0 deletions

View File

@@ -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)]