mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Update ParameterInsertable
This commit is contained in:
parent
da7213f45b
commit
8ef7f0f8bf
@ -71,7 +71,7 @@ namespace SqlSugar
|
|||||||
await this.Context.Utilities.PageEachAsync<T,int>(objects, 60,async pagelist =>
|
await this.Context.Utilities.PageEachAsync<T,int>(objects, 60,async pagelist =>
|
||||||
{
|
{
|
||||||
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
||||||
this.Context.AddQueue("Begin");
|
this.Context.AddQueue("begin");
|
||||||
foreach (var item in pagelist)
|
foreach (var item in pagelist)
|
||||||
{
|
{
|
||||||
var itemable = this.Context.Insertable(item);
|
var itemable = this.Context.Insertable(item);
|
||||||
@ -81,7 +81,7 @@ namespace SqlSugar
|
|||||||
itemable.AddQueue();
|
itemable.AddQueue();
|
||||||
}
|
}
|
||||||
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
||||||
this.Context.AddQueue("End");
|
this.Context.AddQueue("end");
|
||||||
result += await this.Context.SaveQueuesAsync(false);
|
result += await this.Context.SaveQueuesAsync(false);
|
||||||
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
||||||
return objects.Length;
|
return objects.Length;
|
||||||
|
Loading…
Reference in New Issue
Block a user