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