This commit is contained in:
skx
2020-12-29 22:29:20 +08:00
parent bbcf38ee2c
commit ae0a67f89e
2 changed files with 8 additions and 0 deletions

View File

@@ -100,6 +100,12 @@ namespace OrmTest
//Where Sql
db.Updateable(updateObj).Where("id=@x", new { x = "1" }).ExecuteCommand();
var levelCode = "123213123131321";
db.Updateable<Order>(a => a.Name == "a")
.Where(a => SqlFunc.StartsWith(a.Name, levelCode))
.AddQueue();
db.SaveQueues();
Console.WriteLine("#### Updateable End ####");
}