Update SqlSugar.MySqlConnectorCore

This commit is contained in:
sunkaixuan
2022-02-26 23:56:54 +08:00
parent a55a9c340c
commit 77fd2b254f

View File

@@ -75,7 +75,7 @@ namespace SqlSugar.MySqlConnector
}
public override void SetCommandToAdapter(IDataAdapter dataAdapter, DbCommand command)
{
((MySqlDataAdapter)dataAdapter).SelectCommand = (MySqlCommand)command;
((MySqlConnectorDataAdapter)dataAdapter).SelectCommand = (MySqlCommand)command;
}
/// <summary>
/// if mysql return MySqlParameter[] pars