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