mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Add CloseVersionValidation
This commit is contained in:
@@ -29,6 +29,7 @@ namespace OrmTest.Demo
|
||||
db.Updateable(data).AS("student").ExecuteCommand();
|
||||
|
||||
data.CreateTime = time.Value.AddMilliseconds(-1);
|
||||
db.Updateable(data).AS("student").CloseVersionValidation().ExecuteCommand();//Close Version Validation
|
||||
db.Updateable(data).AS("student").ExecuteCommand();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user