mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add unit test
This commit is contained in:
parent
3f953de1bb
commit
858ac48865
@ -93,7 +93,13 @@ namespace OrmTest
|
||||
var list4 = db.Queryable<OperatorInfo>()
|
||||
.Includes(x => x.Roles.Skip(10).Take(1).ToList())
|
||||
.ToList();
|
||||
}
|
||||
|
||||
db.QueryFilter.AddTableFilter<OptRole>(x => x.roleId == 2);
|
||||
db.Queryable<OperatorInfo>()
|
||||
.Includes(x => x.Roles)
|
||||
.Where(x => x.Roles.Any() || x.Roles.Any())
|
||||
.ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 描述:
|
||||
|
Loading…
Reference in New Issue
Block a user