Exemple #1
0
        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));
        }
Exemple #2
0
 public int ExecuteNonQuery(HKLiteTransaction trans, string cmdText, params DbParameter[] param)
 {
     return(ExecuteNonQuery(trans, CommandType.Text, cmdText, param));
 }
Exemple #3
0
 public int ExecuteNonQuery(HKLiteTransaction trans, string cmdText)
 {
     return(ExecuteNonQuery(trans, CommandType.Text, cmdText, null));
 }