diff --git a/Src/Asp.Net/SqliteTest/UnitTest/UBulkCopy.cs b/Src/Asp.Net/SqliteTest/UnitTest/UBulkCopy.cs index 93c5f7640..36316a114 100644 --- a/Src/Asp.Net/SqliteTest/UnitTest/UBulkCopy.cs +++ b/Src/Asp.Net/SqliteTest/UnitTest/UBulkCopy.cs @@ -13,10 +13,10 @@ namespace OrmTest { var db = NewUnitTest.Db; db.DbMaintenance.CreateDatabase(); - db.DbMaintenance.TruncateTable(); db.Aop.OnLogExecuting = null; db.CodeFirst.InitTables(); var list = new List(); + db.DbMaintenance.TruncateTable(); for (int i = 0; i < 100000; i++) { list.Add(new UBulkCopydsafad1() { name = "a", name1 = "x" + i, name2 = "a" }); @@ -26,7 +26,7 @@ namespace OrmTest var list2 = db.Queryable().ToList(); db.Fastest().BulkCopy(list); var list3 = db.Queryable().ToList(); - var updateRows= db.Fastest().BulkUpdate(list3); + var row= db.Fastest().BulkUpdate(list3); //db.CommitTran(); } public class UBulkCopydsafad1