mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Update unit test
This commit is contained in:
parent
93899049ba
commit
d0e3eba278
@ -39,7 +39,7 @@ namespace OrmTest
|
||||
db.CodeFirst.SetStringDefaultLength(200).InitTables(typeof(SqlSugarSelect.TestModel2));
|
||||
|
||||
#region 加入数据
|
||||
var isadd = !db.Queryable<TestModel1>().Any();
|
||||
var isadd = !db.Queryable<SqlSugarSelect.TestModel1>().Any();
|
||||
if (isadd)
|
||||
{
|
||||
db.Insertable(new SqlSugarSelect.TestModel1
|
||||
|
Loading…
Reference in New Issue
Block a user