Oracle SqlTest supports @

This commit is contained in:
sunkaixuan
2017-12-04 20:51:33 +08:00
parent 7c3094e624
commit cb6289e272
4 changed files with 36 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ namespace OrmTest.Demo
t12.Wait();
//update one columns
var count = db.Updateable<Student>().UpdateColumns(it => it.SchoolId == 1).Where(it => it.Id == 1).ExecuteCommand();
var count = db.Updateable<Student>().UpdateColumns(it => it.SchoolId == it.SchoolId+1).Where(it => it.Id == it.Id+1).ExecuteCommand();