コード例 #1
0
 public static IEnumerable <T> ExecuteReaderEnum <T>(this DbConnection conn, CommandType commandType, string commandText, CmdParams cmdParams, Func <DbDataReader, T> func)
 {
     return(DBTools.ExecuteReaderEnum <T>(conn, commandType, commandText, cmdParams, func));
 }
コード例 #2
0
 public static T ExecuteReaderStruct <T>(this DbConnection conn, CommandType commandType, string commandText, CmdParams cmdParams, Func <DbDataReader, T> func) where T : struct
 {
     return(DBTools.ExecuteReaderStruct <T>(conn, commandType, commandText, cmdParams, func));
 }
コード例 #3
0
 public static T ExecuteScalar <T>(this DbConnection conn, CommandType commandType, string commandText, CmdParams cmdParams)
 {
     return(DBTools.ExecuteScalar <T>(conn, commandType, commandText, cmdParams));
 }
コード例 #4
0
 public static DbDataReader ExecuteReader(this DbConnection conn, CommandType commandType, string commandText, CmdParams cmdParams)
 {
     return(DBTools.ExecuteReader(conn, commandType, commandText, cmdParams));
 }
コード例 #5
0
 public static int ExecuteNonQuery(this DbConnection conn, CommandType commandType, string commandText, CmdParams cmdParams)
 {
     return(DBTools.ExecuteNonQuery(conn, commandType, commandText, cmdParams));
 }