mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Add SqlServer Demo
This commit is contained in:
parent
682d449dd3
commit
a1cde58b88
@ -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:");
|
||||
|
Loading…
Reference in New Issue
Block a user