diff --git a/Src/Asp.Net/OracleTest/UnitTest/UInsert3.cs b/Src/Asp.Net/OracleTest/UnitTest/UInsert3.cs index f4ebf27ee..86fd0bcf3 100644 --- a/Src/Asp.Net/OracleTest/UnitTest/UInsert3.cs +++ b/Src/Asp.Net/OracleTest/UnitTest/UInsert3.cs @@ -63,8 +63,23 @@ namespace OrmTest Price = 1, Name = "a" }, true).Where(it => it.Id == 1).ExecuteCommand(); + + db.CodeFirst.InitTables(); + List result = new List(); + for (int i = 0; i < 4000; i++) + { + result.Add(new Unitdfafaadfaa() { Id=i, Name="a" }); + } + db.Insertable(result).ExecuteCommand(); + db.DbMaintenance.TruncateTable(); } + public class Unitdfafaadfaa + { + [SugarColumn(IsPrimaryKey =true)] + public long Id { get; set; } + public string Name { get; set; } + } public class Order { [SugarColumn(IsPrimaryKey = true,OracleSequenceName = "Seq_Id")]