|
@ -434,6 +434,7 @@ namespace OrmTest |
|
|
|
|
|
|
|
|
var query8 = db.Queryable<Order>() |
|
|
var query8 = db.Queryable<Order>() |
|
|
.LeftJoin(db.Queryable<Custom>().Where(it=>it.Id==1),(o,i)=>o.CustomId==i.Id) |
|
|
.LeftJoin(db.Queryable<Custom>().Where(it=>it.Id==1),(o,i)=>o.CustomId==i.Id) |
|
|
|
|
|
.LeftJoin(db.Queryable<OrderItem>().Where(it=>it.OrderId==2),(o,i,item)=>item.OrderId==o.Id) |
|
|
.Select(o => o).ToList(); |
|
|
.Select(o => o).ToList(); |
|
|
|
|
|
|
|
|
Console.WriteLine("#### Join Table End ####"); |
|
|
Console.WriteLine("#### Join Table End ####"); |
|
|