Exemple #1
0
 public static SqlDataReader Select(SqlTransaction trans, string sql, params SqlParameter[] parms)
 {
     return(SqlHelper2.ExecuteReader(trans, CommandType.Text, sql, parms));
 }
Exemple #2
0
 public static SqlDataReader Select(SqlTransaction trans, string procName, params SqlParameter[] parms)
 {
     return(SqlHelper2.ExecuteReader(trans, CommandType.StoredProcedure, procName, parms));
 }
Exemple #3
0
 public static SqlDataReader Select(SqlConnection conn, string sql, params SqlParameter[] parms)
 {
     return(SqlHelper2.ExecuteReader(conn, CommandType.Text, sql, parms));
 }
Exemple #4
0
 public static SqlDataReader Select(string procName, params SqlParameter[] parms)
 {
     return(SqlHelper2.ExecuteReader(connStr, CommandType.StoredProcedure, procName, parms));
 }