Update unit test

This commit is contained in:
sunkaixuan
2023-10-15 18:50:11 +08:00
parent b1863258b5
commit 81f255cdd7

View File

@@ -107,6 +107,12 @@ namespace OrmTest
{
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
{