This commit is contained in:
2881099
2021-03-04 15:29:26 +08:00
parent 90438e20d8
commit a1a120495b
28 changed files with 36 additions and 39 deletions

View File

@ -252,19 +252,6 @@ namespace FreeSql.Tests
[Fact]
public void Test02()
{
g.sqlite.GlobalFilter
.Apply<otot1>("id2", a => a.name == "123");
var sqlo1 = g.sqlite.Select<otot1, otot2, otot3>()
.InnerJoin((a, b, c) => a.id == b.id)
.InnerJoin((a, b, c) => b.id == c.id)
.ToSql();
var sqlo2 = g.sqlite.GetRepository<otot3>()
.Select
.ToSql();
g.sqlite.GlobalFilter
.ApplyOnly<otot1>("id1", a => a.name == "123");