Update demo

This commit is contained in:
sunkaixuan
2019-06-02 10:42:18 +08:00
parent 2a644d438e
commit daa333192a
3 changed files with 11 additions and 10 deletions

View File

@@ -148,8 +148,8 @@ namespace OrmTest
//Child=(select * from parent where ParentId=it.id)
.Mapper(it => it.Child, it => it.Id, it => it.Parent.ParentId)
.ToList();
//one to one
var list2 = db.Queryable<OrderItemInfo>().Mapper(it => it.Order, it => it.OrderId).ToList();
Console.WriteLine("#### End Start ####");
}