mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update unit test
This commit is contained in:
parent
91970743d1
commit
d0f11b34ce
@ -174,7 +174,16 @@ namespace OrmTest
|
||||
_db.QueryFilter.Clear();
|
||||
|
||||
|
||||
Db.CodeFirst.InitTables<UnitEnumTest>();
|
||||
Db.Insertable(new UnitEnumTest() { type = null }).ExecuteCommand();
|
||||
Db.Insertable(new UnitEnumTest() { type = DbType.MySql }).ExecuteCommand();
|
||||
var xx = Db.Queryable<UnitEnumTest>().ToList();
|
||||
}
|
||||
|
||||
public class UnitEnumTest
|
||||
{
|
||||
[SqlSugar.SugarColumn(IsNullable =true)]
|
||||
public DbType? type { get; set; }
|
||||
}
|
||||
|
||||
public class Dat_WorkBill
|
||||
|
Loading…
Reference in New Issue
Block a user