mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 20:43:46 +08:00
Update unit test
This commit is contained in:
@@ -107,6 +107,12 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
throw new Exception("unit error");
|
throw new Exception("unit error");
|
||||||
}
|
}
|
||||||
|
db.CodeFirst.InitTables<FilterTest>();
|
||||||
|
db.Queryable<FilterTest, FilterTest, FilterTest>((x, y, z) => x.OrgId == y.OrgId)
|
||||||
|
.Select("x.*").ToList();
|
||||||
|
db.QueryFilter.Clear();
|
||||||
|
db.Queryable<FilterTest, FilterTest, FilterTest>((x, y, z) => x.OrgId == y.OrgId)
|
||||||
|
.Select("x.*").ToList();
|
||||||
}
|
}
|
||||||
public class FilterTest : IDeleted, IOrg
|
public class FilterTest : IDeleted, IOrg
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user