Browse Source

Add demo

pull/40/head
sunkaixuan 1 year ago
parent
commit
19390c21a1
  1. 2
      Src/Asp.Net/DmTest/Demo/Demo1_Queryable.cs

2
Src/Asp.Net/DmTest/Demo/Demo1_Queryable.cs

@ -203,7 +203,7 @@ namespace OrmTest
var list = db.Queryable<dynamic>().AS("order").Where("id=:id", new { id = 1 }).ToList();
var list2 = db.Queryable<dynamic>("o").AS("order").AddJoinInfo("OrderDetail", "i", "o.id=i.OrderId").Where("id=id", new { id = 1 }).Select("o.*").ToList();
var list2 = db.Queryable<dynamic>("o").AS("order").AddJoinInfo("OrderDetail", "i", "o.id=i.OrderId").Where("id=@id", new { id = 1 }).Select("o.*").ToList();
Console.WriteLine("#### No Entity End ####");
}

Loading…
Cancel
Save