Browse Source

Update questdb demo

pull/31/head
sunkaixuan 2 years ago
parent
commit
b31d284698
  1. 10
      Src/Asp.NetCore2/QuestDbTest/Demo/Demo1_Queryable.cs

10
Src/Asp.NetCore2/QuestDbTest/Demo/Demo1_Queryable.cs

@ -119,11 +119,11 @@ namespace OrmTest
.Select((o, i, c) => new ViewOrder { Name=o.Name, CustomName=c.Name }).ToList();
var oneClass = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
JoinType.Left, o.Id == i.OrderId,
JoinType.Left, o.CustomId == c.Id
))
.Select((o, i, c) => c).ToList();
// var oneClass = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
// JoinType.Left, o.Id == i.OrderId,
// JoinType.Left, o.CustomId == c.Id
// ))
//.Select((o, i, c) => c).ToList();
var twoClass = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
JoinType.Left, o.Id == i.OrderId,

Loading…
Cancel
Save