diff --git a/Src/Asp.Net/MySqlTest/Demo/Demo2_Updateable.cs b/Src/Asp.Net/MySqlTest/Demo/Demo2_Updateable.cs index dbddbfcaf..c2df381a6 100644 --- a/Src/Asp.Net/MySqlTest/Demo/Demo2_Updateable.cs +++ b/Src/Asp.Net/MySqlTest/Demo/Demo2_Updateable.cs @@ -66,9 +66,12 @@ namespace OrmTest var result8 = db.Updateable(it => it.Name == "Name" + "1").Where(it => it.Id == 1).ExecuteCommand(); var result81 = db.Updateable().SetColumns(it => it.Name == "Name" + "1").Where(it => it.Id == 1).ExecuteCommand(); // - - - + var result61 = db.Updateable() + .InnerJoin((x, y) => x.CustomId == y.Id) + .SetColumns((x, y) => new Order() { Name = y.Name, Price = y.Id }) + .Where((x, y) => x.Id == 1) + .ExecuteCommand(); + /*** 3.by Dictionary ***/ var dt = new Dictionary();