mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 04:53:45 +08:00
Navigate query support skip take
This commit is contained in:
@@ -108,6 +108,10 @@ namespace OrmTest
|
||||
|
||||
var list3_1 = db.Queryable<StudentA>()
|
||||
.Includes(x => x.Books.MappingField(z=>z.Names,()=>x.Name).ToList())
|
||||
.ToList();
|
||||
|
||||
var list3_11 = db.Queryable<StudentA>()
|
||||
.Includes(x => x.Books.Skip(1).Take(2).ToList())
|
||||
.ToList();
|
||||
|
||||
//先用Mapper导航映射查出第二层
|
||||
|
Reference in New Issue
Block a user