Add unit test

This commit is contained in:
sunkaixuan 2023-08-09 21:33:53 +08:00
parent 3f953de1bb
commit 858ac48865

View File

@ -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>
/// 描述: