Example #1
0
 public override int ExecuteNonQuery(IDbConnection connection, string cmdText, IList <IDbDataParameter> parameter)
 {
     return(DbMsSqlHelper.ExecuteNonQuery((SqlConnection)connection, CommandType.Text, cmdText, parameter == null ? null : parameter.Cast <SqlParameter>().ToArray()));
 }
Example #2
0
 public override int ExecuteNonQuery(IDbTransaction trans, string cmdText, IList <IDbDataParameter> parameter)
 {
     return(DbMsSqlHelper.ExecuteNonQuery(trans as SqlTransaction, CommandType.Text, cmdText, parameter == null ? null : parameter.Cast <SqlParameter>().ToArray()).ToInt());
 }