mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update core
This commit is contained in:
parent
b4f79b5f1c
commit
44a908097f
@ -197,7 +197,7 @@ namespace SqlSugar.MySqlConnector
|
|||||||
sql = FormatSql(sql);
|
sql = FormatSql(sql);
|
||||||
SetConnectionStart(sql);
|
SetConnectionStart(sql);
|
||||||
if (this.ProcessingEventStartingSQL != null)
|
if (this.ProcessingEventStartingSQL != null)
|
||||||
ExecuteProcessingSQL(ref sql, parameters);
|
ExecuteProcessingSQL(ref sql,ref parameters);
|
||||||
ExecuteBefore(sql, parameters);
|
ExecuteBefore(sql, parameters);
|
||||||
var sqlCommand =await GetCommandAsync(sql, parameters);
|
var sqlCommand =await GetCommandAsync(sql, parameters);
|
||||||
int count;
|
int count;
|
||||||
@ -238,7 +238,7 @@ namespace SqlSugar.MySqlConnector
|
|||||||
SetConnectionStart(sql);
|
SetConnectionStart(sql);
|
||||||
var isSp = this.CommandType == CommandType.StoredProcedure;
|
var isSp = this.CommandType == CommandType.StoredProcedure;
|
||||||
if (this.ProcessingEventStartingSQL != null)
|
if (this.ProcessingEventStartingSQL != null)
|
||||||
ExecuteProcessingSQL(ref sql, parameters);
|
ExecuteProcessingSQL(ref sql,ref parameters);
|
||||||
ExecuteBefore(sql, parameters);
|
ExecuteBefore(sql, parameters);
|
||||||
var sqlCommand = await GetCommandAsync(sql, parameters);
|
var sqlCommand = await GetCommandAsync(sql, parameters);
|
||||||
DbDataReader sqlDataReader;
|
DbDataReader sqlDataReader;
|
||||||
@ -274,7 +274,7 @@ namespace SqlSugar.MySqlConnector
|
|||||||
sql = FormatSql(sql);
|
sql = FormatSql(sql);
|
||||||
SetConnectionStart(sql);
|
SetConnectionStart(sql);
|
||||||
if (this.ProcessingEventStartingSQL != null)
|
if (this.ProcessingEventStartingSQL != null)
|
||||||
ExecuteProcessingSQL(ref sql, parameters);
|
ExecuteProcessingSQL(ref sql,ref parameters);
|
||||||
ExecuteBefore(sql, parameters);
|
ExecuteBefore(sql, parameters);
|
||||||
var sqlCommand = await GetCommandAsync(sql, parameters) ;
|
var sqlCommand = await GetCommandAsync(sql, parameters) ;
|
||||||
object scalar;
|
object scalar;
|
||||||
|
Loading…
Reference in New Issue
Block a user