mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-26 14:15:50 +08:00
Update Oracle insert big data
This commit is contained in:
@@ -66,8 +66,9 @@ namespace SqlSugar
|
||||
{
|
||||
this.Context.Utilities.PageEach(groupList, 100, groupListPasge =>
|
||||
{
|
||||
this.Parameters = new List<SugarParameter>();
|
||||
var sql = Small(identities, groupListPasge, columnsString);
|
||||
this.Context.Ado.ExecuteCommand(sql);
|
||||
this.Context.Ado.ExecuteCommand(sql, this.Parameters);
|
||||
});
|
||||
if (identities!=null&identities.Count > 0&& this.OracleSeqInfoList!=null&& this.OracleSeqInfoList.Any())
|
||||
{
|
||||
|
||||
@@ -66,8 +66,9 @@ namespace SqlSugar
|
||||
{
|
||||
this.Context.Utilities.PageEach(groupList, 100, groupListPasge =>
|
||||
{
|
||||
this.Parameters = new List<SugarParameter>();
|
||||
var sql = Small(identities, groupListPasge, columnsString);
|
||||
this.Context.Ado.ExecuteCommand(sql);
|
||||
this.Context.Ado.ExecuteCommand(sql, this.Parameters);
|
||||
});
|
||||
if (identities!=null&identities.Count > 0&& this.OracleSeqInfoList!=null&& this.OracleSeqInfoList.Any())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user