- 修复 WhereDynamicFilter 多级 Logic 未生效的 bug;

This commit is contained in:
28810
2020-07-03 15:04:07 +08:00
parent a41da0dc95
commit 181813ce1a
3 changed files with 20 additions and 1 deletions

View File

@ -159,6 +159,16 @@ namespace FreeSql.Tests
[Fact]
public void Test03()
{
var sql123 = g.sqlserver.Select<Edi>()
.WithSql(
g.sqlserver.Select<Edi>().ToSql(a => new { a.Id }, FieldAliasOptions.AsProperty) +
" UNION ALL " +
g.sqlserver.Select<Edi>().ToSql(a => new { a.Id }, FieldAliasOptions.AsProperty))
.Page(1, 10).ToSql("Id");
var sqlextGroupConcat = g.mysql.Select<Edi, EdiItem>()
.InnerJoin((a, b) => b.Id == a.Id)
.ToSql((a, b) => new