mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update unit test
This commit is contained in:
parent
90186eee2a
commit
692d82ff30
@ -19,10 +19,11 @@ namespace OrmTest
|
||||
IsAutoCloseConnection = true
|
||||
});
|
||||
db.CodeFirst.InitTables<UnitBoola1>();
|
||||
db.Insertable(new UnitBoola1() { a = true }).ExecuteCommand();
|
||||
db.Queryable<Order>()
|
||||
.Select(x => new
|
||||
{
|
||||
x1 = SqlFunc.Subqueryable<UnitBoola1>().Select(it => it.a)
|
||||
x1 =(bool?) SqlFunc.Subqueryable<UnitBoola1>().Select(it => it.a)
|
||||
}).ToList();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user