Update demo

This commit is contained in:
sunkaixuan
2019-06-02 15:43:20 +08:00
parent 1a9bbf927b
commit 831b22efa0
2 changed files with 41 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ namespace OrmTest
db.Deleteable<Order>().Where(new Order() { Id = 1111 }).ExecuteCommand();
//by primary key
db.Deleteable<Order>().In(1).ExecuteCommand();
db.Deleteable<Order>().In(1111).ExecuteCommand();
//by primary key array
db.Deleteable<Order>().In(new int[] { 1111, 2222 }).ExecuteCommand();