mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
db.Fastest support BulkCopyUpdate
This commit is contained in:
@@ -109,8 +109,8 @@ namespace OrmTest
|
||||
.AddQueue();
|
||||
db.SaveQueues();
|
||||
|
||||
|
||||
db.Fastest<Order>().BulkCopy(updateObjs);
|
||||
var dataTable = db.Queryable<Order>().Select("id,name,1 as price").Take(2).ToDataTable();
|
||||
db.Fastest<Order>().BulkUpdate("Order", dataTable,new string[] {"id" },new string[] {"name" });
|
||||
Console.WriteLine("#### Updateable End ####");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user