예제 #1
0
 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()));
 }
예제 #2
0
 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());
 }