mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update demo
This commit is contained in:
parent
4c2b992313
commit
dfb4c1fa08
@ -191,9 +191,9 @@ namespace OrmTest
|
||||
Console.WriteLine("#### No Entity Start ####");
|
||||
var db = GetInstance();
|
||||
|
||||
var list = db.Queryable<dynamic>().AS("order").Where("id=id", new { id = 1 }).ToList();
|
||||
var list = db.Queryable<dynamic>().AS("ORDERTEST011").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("ORDERTEST011").AddJoinInfo("OrderDetail", "i", "o.id=i.OrderId").Where("id=id", new { id = 1 }).Select("o.*").ToList();
|
||||
Console.WriteLine("#### No Entity End ####");
|
||||
}
|
||||
|
||||
|
@ -78,8 +78,8 @@ namespace OrmTest
|
||||
var dtList = new List<Dictionary<string, object>>();
|
||||
dtList.Add(dt);
|
||||
|
||||
var t66 = db.Updateable(dt).AS("order").WhereColumns("id").ExecuteCommand();
|
||||
var t666 = db.Updateable(dtList).AS("order").WhereColumns("id").ExecuteCommand();
|
||||
var t66 = db.Updateable(dt).AS("ORDERTEST011").WhereColumns("id").ExecuteCommand();
|
||||
var t666 = db.Updateable(dtList).AS("ORDERTEST011").WhereColumns("id").ExecuteCommand();
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user