mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Update Core
This commit is contained in:
@@ -32,7 +32,7 @@ namespace SqlSugar
|
||||
|
||||
|
||||
|
||||
public int ExecuteBlueCopy()
|
||||
public int ExecuteBlukCopy()
|
||||
|
||||
{
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace SqlSugar
|
||||
|
||||
|
||||
|
||||
public async Task<int> ExecuteBlueCopyAsync()
|
||||
public async Task<int> ExecuteBlukCopyAsync()
|
||||
|
||||
{
|
||||
|
||||
@@ -203,6 +203,13 @@ namespace SqlSugar
|
||||
private OracleBulkCopy GetBulkCopyInstance()
|
||||
|
||||
{
|
||||
if (this.Context.Ado.Connection.State == ConnectionState.Closed)
|
||||
|
||||
{
|
||||
|
||||
this.Context.Ado.Connection.Open();
|
||||
|
||||
}
|
||||
|
||||
OracleBulkCopy copy;
|
||||
|
||||
@@ -221,15 +228,6 @@ namespace SqlSugar
|
||||
copy = new OracleBulkCopy((OracleConnection)this.Context.Ado.Connection, OracleBulkCopyOptions.UseInternalTransaction);
|
||||
|
||||
}
|
||||
|
||||
if (this.Context.Ado.Connection.State == ConnectionState.Closed)
|
||||
|
||||
{
|
||||
|
||||
this.Context.Ado.Connection.Open();
|
||||
|
||||
}
|
||||
|
||||
return copy;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user