Add Updateable.WhereColumns(string)

This commit is contained in:
sunkaixuan
2018-12-08 18:42:12 +08:00
parent 74e1df36d2
commit 4374989475
3 changed files with 19 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ namespace OrmTest.Demo
dt.Add("id", 1);
dt.Add("name", null);
dt.Add("createTime", DateTime.Now);
var t66 = db.Updateable(dt).AS("student").With(SqlWith.UpdLock).ExecuteCommand();
var t66 = db.Updateable(dt).AS("student").WhereColumns("id").With(SqlWith.UpdLock).ExecuteCommand();
}
}
}