Update exp to sql

This commit is contained in:
sunkaixuan
2022-03-14 14:03:43 +08:00
parent 57921ca6a2
commit 788588759e
3 changed files with 9 additions and 1 deletions

View File

@@ -267,6 +267,13 @@ namespace OrmTest
.Select((o, cus) => new VUOrder { Ixd = o.Id.SelectAll()})
.ToList();
Check.Exception(query5.Any() && query5.First().Ixd == 0,"unit error");
var query6 = Db.Queryable<Order>()
.LeftJoin<Custom>((o, cus) => o.Id.ToString().Contains(cus.Id.ToString()))
.Where((o) => o.Id > 0)
.ToList();
}
public class VUOrder
{