mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Update unit test
This commit is contained in:
@@ -13,8 +13,11 @@ namespace OrmTest
|
||||
var db = NewUnitTest.Db;
|
||||
db.CodeFirst.InitTables<OperatorInfo, Role, OptRole>();
|
||||
db.Queryable<OperatorInfo>()
|
||||
.Includes(x => x.Roles).Where(x => x.Roles.Any())
|
||||
.Includes(x => x.Roles).Where(x => x.Roles.Any(z=>z.id==1))
|
||||
.ToList();
|
||||
db.Queryable<OperatorInfo>()
|
||||
.Includes(x => x.Roles).Where(x => x.Roles.Any())
|
||||
.ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user