public int ExecuteNonQuery(HKLiteTransaction trans, CommandType commandType, string cmdText, params DbParameter[] param) { DbConnection conn = null; if (trans != null) { conn = trans.DbTransaction.Connection; } else { conn = dalInfo.Connection; } return(SqlHelper.ExecuteNonQuery(trans.DbTransaction, false, conn, dalInfo.LongConnection, commandType, cmdText, param)); }
public int ExecuteNonQuery(HKLiteTransaction trans, string cmdText, params DbParameter[] param) { return(ExecuteNonQuery(trans, CommandType.Text, cmdText, param)); }
public int ExecuteNonQuery(HKLiteTransaction trans, string cmdText) { return(ExecuteNonQuery(trans, CommandType.Text, cmdText, null)); }