This commit is contained in:
sunkaixuan 2023-07-06 13:08:49 +08:00
parent 81e86a1078
commit 19390c21a1

View File

@ -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 ####");
}