コード例 #1
0
        private CommandWithDataReader ExecuteReader(DbCommand command)
        {
            DbDataReader reader;

            try {
                reader = driver.ExecuteReader(session, command);
            }
            catch {
                command.Dispose();
                throw;
            }
            return(new CommandWithDataReader(command, reader));
        }