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