public override int ExecuteNonQuery(IDbConnection connection, string cmdText, IList <IDbDataParameter> parameter) { return(DbMySqlHelper.ExecuteNonQuery((MySqlConnection)connection, CommandType.Text, cmdText, parameter == null ? null : parameter.Cast <MySqlParameter>().ToArray())); }
public override int ExecuteNonQuery(IDbTransaction trans, string cmdText, IList <IDbDataParameter> parameter) { return(DbMySqlHelper.ExecuteNonQuery(trans as MySqlTransaction, CommandType.Text, cmdText, parameter == null ? null : parameter.Cast <MySqlParameter>().ToArray()).ToInt()); }