mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Add demo
This commit is contained in:
parent
3ca1ea9d71
commit
efbb539e81
@ -215,7 +215,11 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
x = SqlFunc.Subqueryable<Order>().Where(z => z.Id == it.Id).Any()
|
x = SqlFunc.Subqueryable<Order>().Where(z => z.Id == it.Id).Any()
|
||||||
}).ToList();
|
}).ToList();
|
||||||
|
db.Queryable<StudentA>()
|
||||||
|
.Select(x => new {
|
||||||
|
count = x.Books.Count(),
|
||||||
|
count2 = x.Books.Count()
|
||||||
|
}).ToList();
|
||||||
var list6 = db.Queryable<StudentA>()
|
var list6 = db.Queryable<StudentA>()
|
||||||
.Includes(x => x.SchoolA, x => x.RoomList)
|
.Includes(x => x.SchoolA, x => x.RoomList)
|
||||||
.Includes(x => x.Books).ToList();
|
.Includes(x => x.Books).ToList();
|
||||||
|
Loading…
Reference in New Issue
Block a user