- 增加 WhereCascade/GlobalFilter 表达式子查询的支持;

This commit is contained in:
28810
2020-05-02 11:17:59 +08:00
parent d24969d9b1
commit 1e83a7eeaa
4 changed files with 20 additions and 8 deletions

View File

@ -279,7 +279,7 @@ namespace FreeSql.Tests
kwrepo.Insert(u1);
g.sqlite.GlobalFilter.Apply<gf_t1>("gft1", a => a.rowstate > -1)
g.sqlite.GlobalFilter.Apply<gf_t1>("gft1", a => a.rowstate > -1 && g.sqlite.Select<gf_t2>().Any(b => b.id == a.id))
.Apply<gf_t2>("gft2", a => a.rowstate > -2)
.Apply<gf_t3>("gft3", a => a.rowstate > -3);