Add CloseVersionValidation

This commit is contained in:
sunkaixuan
2018-10-13 04:13:14 +08:00
parent 3a6c54d9a6
commit 849a707ad4
4 changed files with 12 additions and 2 deletions

View File

@@ -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();
}
}