diff --git a/Src/Asp.NetCore2/SqlSugar/Realization/MySql/MySqlProvider.cs b/Src/Asp.NetCore2/SqlSugar/Realization/MySql/MySqlProvider.cs index c24fc7fe4..06d91eb55 100644 --- a/Src/Asp.NetCore2/SqlSugar/Realization/MySql/MySqlProvider.cs +++ b/Src/Asp.NetCore2/SqlSugar/Realization/MySql/MySqlProvider.cs @@ -6,6 +6,7 @@ using System.Data; using System.Data.Common; using System.Linq; using System.Text; +using System.Threading; using System.Threading.Tasks; namespace SqlSugar { @@ -169,7 +170,7 @@ namespace SqlSugar } #region async - public async Task GetCommandAsync(string sql, SugarParameter[] parameters) + public async new Task GetCommandAsync(string sql, SugarParameter[] parameters) { MySqlCommand sqlCommand = new MySqlCommand(sql, (MySqlConnection)this.Connection); sqlCommand.CommandType = this.CommandType;