Add SqlServer Demo

This commit is contained in:
sunkaixuan 2023-05-07 18:20:08 +08:00
parent 682d449dd3
commit a1cde58b88

View File

@ -58,6 +58,10 @@ namespace OrmTest
//Re set value
var result66 = db.Updateable(new List<Order> { updateObj }).ReSetValue(it => it.Id = 112).IgnoreColumns(it => new { it.CreateTime, it.Price }).ExecuteCommand();
var result67 =
db.Updateable(updateObjs)
.PublicSetColumns(it => it.Price, it => it.Price + 1)
.ExecuteCommand();
//Update by track
Console.WriteLine(" Tracking 1:");