Esempio n. 1
0
 internal RuntimeDataSourceParameters(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, Microsoft.ReportingServices.ReportIntermediateFormat.DataSource dataSource, OnDemandProcessingContext processingContext, int parameterDataSetIndex, ReportParameterDataSetCache aCache)
     : base(report, dataSource, processingContext, mergeTransactions: false)
 {
     Global.Tracer.Assert(parameterDataSetIndex != -1, "Parameter DataSet index must be specified when processing parameters");
     m_parameterDataSetIndex = parameterDataSetIndex;
     m_paramDataCache        = aCache;
 }
        private void InitializeEnvironment()
        {
            m_processingContext = m_romReport.HeaderFooterRenderingContext.OdpContext;
            Microsoft.ReportingServices.ReportIntermediateFormat.Report reportDef = m_romReport.ReportDef;
            ObjectModelImpl reportObjectModel = m_processingContext.ReportObjectModel;

            if (reportDef.DataSetsNotOnlyUsedInParameters == 1)
            {
                m_processingContext.SetupFieldsForNewDataSetPageSection(reportDef.FirstDataSet);
            }
            else
            {
                m_processingContext.SetupEmptyTopLevelFields();
            }
            reportObjectModel.VariablesImpl = new VariablesImpl(lockAdd: false);
            if (reportDef.HasVariables)
            {
                Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance currentReportInstance = m_romReport.RenderingContext.OdpContext.CurrentReportInstance;
                m_processingContext.RuntimeInitializePageSectionVariables(reportDef, currentReportInstance?.VariableValues);
            }
            reportObjectModel.LookupsImpl = new LookupsImpl();
            if (reportDef.HasLookups)
            {
                m_processingContext.RuntimeInitializeLookups(reportDef);
            }
            ReportItemsImpl reportItemsImpl = new ReportItemsImpl(lockAdd: false);

            foreach (ReportSection reportSection in m_romReport.ReportSections)
            {
                Microsoft.ReportingServices.ReportIntermediateFormat.ReportSection sectionDef = reportSection.SectionDef;
                reportSection.BodyItemsForHeadFoot        = new ReportItemsImpl(lockAdd: false);
                reportSection.PageSectionItemsForHeadFoot = new ReportItemsImpl(lockAdd: false);
                reportObjectModel.ReportItemsImpl         = reportSection.BodyItemsForHeadFoot;
                m_processingContext.RuntimeInitializeTextboxObjs(sectionDef.ReportItems, setExprHost: false);
                reportObjectModel.ReportItemsImpl = reportSection.PageSectionItemsForHeadFoot;
                Microsoft.ReportingServices.ReportIntermediateFormat.Page page = sectionDef.Page;
                if (page.PageHeader != null)
                {
                    if (m_processingContext.ReportRuntime.ReportExprHost != null)
                    {
                        page.PageHeader.SetExprHost(m_processingContext.ReportRuntime.ReportExprHost, reportObjectModel);
                    }
                    m_processingContext.RuntimeInitializeReportItemObjs(page.PageHeader.ReportItems, traverseDataRegions: false);
                    m_processingContext.RuntimeInitializeTextboxObjs(page.PageHeader.ReportItems, setExprHost: true);
                }
                if (page.PageFooter != null)
                {
                    if (m_processingContext.ReportRuntime.ReportExprHost != null)
                    {
                        page.PageFooter.SetExprHost(m_processingContext.ReportRuntime.ReportExprHost, reportObjectModel);
                    }
                    m_processingContext.RuntimeInitializeReportItemObjs(page.PageFooter.ReportItems, traverseDataRegions: false);
                    m_processingContext.RuntimeInitializeTextboxObjs(page.PageFooter.ReportItems, setExprHost: true);
                }
                reportItemsImpl.AddAll(reportSection.BodyItemsForHeadFoot);
                reportItemsImpl.AddAll(reportSection.PageSectionItemsForHeadFoot);
            }
            reportObjectModel.ReportItemsImpl = reportItemsImpl;
            reportObjectModel.AggregatesImpl  = new AggregatesImpl(m_processingContext);
        }
 internal OnDemandMetadata(Microsoft.ReportingServices.ReportIntermediateFormat.Report report)
 {
     m_report                     = report;
     m_odpChunkManager            = new Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.ChunkManager.OnDemandProcessingManager();
     m_isInitialProcessingRequest = true;
     m_metaDataChanged            = true;
     m_tablixProcessingComplete   = new Dictionary <string, bool[]>();
 }
        protected override void ProcessReport(ProcessingErrorContext errorContext, ExecutionLogContext executionLogContext, ref UserProfileState userProfileState)
        {
            GlobalIDOwnerCollection globalIDOwnerCollection;

            Microsoft.ReportingServices.ReportIntermediateFormat.Report reportDefinition = GetReportDefinition(out globalIDOwnerCollection);
            ProcessReportOdpInitial processReportOdpInitial = new ProcessReportOdpInitial(base.Configuration, base.PublicProcessingContext, reportDefinition, errorContext, base.PublicRenderingContext.StoreServerParametersCallback, globalIDOwnerCollection, executionLogContext, m_executionTimeStamp);

            m_odpReportSnapshot = processReportOdpInitial.Execute(out m_odpContext);
        }
Esempio n. 5
0
 protected RuntimeDataSource(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, Microsoft.ReportingServices.ReportIntermediateFormat.DataSource dataSource, OnDemandProcessingContext processingContext, bool mergeTransactions)
 {
     m_report           = report;
     m_dataSource       = dataSource;
     m_odpContext       = processingContext;
     m_runtimeDataSets  = null;
     m_mergeTran        = mergeTransactions;
     m_executionMetrics = new DataProcessingMetrics(m_odpContext.JobContext, m_odpContext.ExecutionLogContext);
     Global.Tracer.Assert(m_dataSource.Name != null, "The name of a data source cannot be null.");
 }
 internal OnDemandProcessReportParameters(Microsoft.ReportingServices.ReportIntermediateFormat.Report aReport, OnDemandProcessingContext aContext)
     : base(aContext)
 {
     m_report = aReport;
     if (aContext.IsRdlSandboxingEnabled())
     {
         IRdlSandboxConfig rdlSandboxing = aContext.Configuration.RdlSandboxing;
         m_maxStringResultLength = rdlSandboxing.MaxStringResultLength;
     }
 }
Esempio n. 7
0
 internal Report(Microsoft.ReportingServices.ReportIntermediateFormat.Report reportDef, RenderingContext renderingContext, string reportName, string description)
 {
     m_parentDefinitionPath = null;
     m_isOldSnapshot        = false;
     m_reportDef            = reportDef;
     m_reportInstance       = null;
     m_renderingContext     = renderingContext;
     m_name        = reportName;
     m_description = description;
 }
Esempio n. 8
0
 public ProcessReportOdp(IConfiguration configuration, ProcessingContext pc, Microsoft.ReportingServices.ReportIntermediateFormat.Report report, ErrorContext errorContext, ReportProcessing.StoreServerParameters storeServerParameters, GlobalIDOwnerCollection globalIDOwnerCollection, ExecutionLogContext executionLogContext)
 {
     m_configuration           = configuration;
     m_publicProcessingContext = pc;
     m_reportDefinition        = report;
     m_errorContext            = errorContext;
     m_storeServerParameters   = storeServerParameters;
     m_globalIDOwnerCollection = globalIDOwnerCollection;
     m_executionLogContext     = executionLogContext;
 }
 internal OnDemandMetadata(OnDemandMetadata metadataFromOldSnapshot, Microsoft.ReportingServices.ReportIntermediateFormat.Report report)
 {
     m_isInitialProcessingRequest = true;
     m_metaDataChanged            = true;
     m_report                 = report;
     m_odpChunkManager        = metadataFromOldSnapshot.m_odpChunkManager;
     m_subReportInfoMap       = metadataFromOldSnapshot.m_subReportInfoMap;
     m_commonSubReportInfoMap = metadataFromOldSnapshot.m_commonSubReportInfoMap;
     m_dataChunkMap           = metadataFromOldSnapshot.m_dataChunkMap;
     m_lastAssignedGlobalID   = metadataFromOldSnapshot.m_lastAssignedGlobalID;
     CommonPrepareForReprocessing();
 }
Esempio n. 10
0
        protected override void ProcessReport(ProcessingErrorContext errorContext, ExecutionLogContext executionLogContext, ref UserProfileState userProfileState)
        {
            OnDemandMetadata        onDemandMetadata        = null;
            GlobalIDOwnerCollection globalIDOwnerCollection = new GlobalIDOwnerCollection();

            onDemandMetadata        = Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.ChunkManager.OnDemandProcessingManager.DeserializeOnDemandMetadata(m_dataCacheChunks, globalIDOwnerCollection);
            globalIDOwnerCollection = new GlobalIDOwnerCollection();
            Microsoft.ReportingServices.ReportIntermediateFormat.Report report = ReportProcessing.DeserializeKatmaiReport(base.PublicProcessingContext.ChunkFactory, keepReferences: false, globalIDOwnerCollection);
            ProcessReportOdpWithCachedData processReportOdpWithCachedData      = new ProcessReportOdpWithCachedData(base.Configuration, base.PublicProcessingContext, report, errorContext, base.PublicRenderingContext.StoreServerParametersCallback, globalIDOwnerCollection, executionLogContext, m_executionTimeStamp, onDemandMetadata);

            m_odpReportSnapshot = processReportOdpWithCachedData.Execute(out m_odpContext);
        }
Esempio n. 11
0
 internal static bool InitializeSubReports(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance, OnDemandProcessingContext odpContext, bool inDataRegion, bool fromCreateSubReportInstance)
 {
     try
     {
         odpContext.IsTopLevelSubReportProcessing = true;
         bool flag = true;
         OnDemandProcessingContext onDemandProcessingContext = odpContext;
         foreach (Microsoft.ReportingServices.ReportIntermediateFormat.SubReport subReport in report.SubReports)
         {
             if (subReport.ExceededMaxLevel)
             {
                 return(flag);
             }
             IReference <Microsoft.ReportingServices.ReportIntermediateFormat.SubReportInstance> reference = null;
             try
             {
                 bool prefetchSuccess = false;
                 if (subReport.RetrievalStatus != Microsoft.ReportingServices.ReportIntermediateFormat.SubReport.Status.DefinitionRetrieveFailed)
                 {
                     onDemandProcessingContext = InitializeSubReport(odpContext, subReport, reportInstance, inDataRegion || subReport.InDataRegion, fromCreateSubReportInstance, out prefetchSuccess);
                     if (!inDataRegion && !subReport.InDataRegion && (!odpContext.SnapshotProcessing || odpContext.ReprocessSnapshot))
                     {
                         reference = subReport.CurrentSubReportInstance;
                     }
                 }
                 if (prefetchSuccess && subReport.Report.HasSubReports)
                 {
                     flag &= InitializeSubReports(subReport.Report, (subReport.CurrentSubReportInstance != null) ? subReport.CurrentSubReportInstance.Value().ReportInstance.Value() : null, onDemandProcessingContext, inDataRegion || subReport.InDataRegion, fromCreateSubReportInstance);
                 }
                 if (onDemandProcessingContext.ErrorContext.Messages != null && 0 < onDemandProcessingContext.ErrorContext.Messages.Count)
                 {
                     odpContext.TopLevelContext.ErrorContext.Register(ProcessingErrorCode.rsWarningExecutingSubreport, Severity.Warning, subReport.ObjectType, subReport.Name, null, onDemandProcessingContext.ErrorContext.Messages);
                 }
                 flag = (flag && prefetchSuccess);
             }
             catch (Exception e)
             {
                 flag = false;
                 Microsoft.ReportingServices.ReportProcessing.ReportProcessing.HandleSubReportProcessingError(onDemandProcessingContext.TopLevelContext.ErrorContext, subReport, InstancePathItem.GenerateInstancePathString(subReport.InstancePath), onDemandProcessingContext.ErrorContext, e);
             }
             finally
             {
                 reference?.Value().InstanceComplete();
             }
         }
         return(flag);
     }
     finally
     {
         odpContext.IsTopLevelSubReportProcessing = false;
     }
 }
Esempio n. 12
0
 internal Report(IDefinitionPath parentDefinitionPath, Microsoft.ReportingServices.ReportIntermediateFormat.Report reportDef, Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance, RenderingContext renderingContext, string reportName, string description, bool subreportInSubtotal)
 {
     m_parentDefinitionPath = parentDefinitionPath;
     m_isOldSnapshot        = false;
     m_reportDef            = reportDef;
     m_reportInstance       = reportInstance;
     m_isOldSnapshot        = false;
     m_subreportInSubtotal  = subreportInSubtotal;
     m_renderingContext     = renderingContext;
     m_name           = reportName;
     m_description    = description;
     m_pageEvaluation = null;
 }
Esempio n. 13
0
 internal static void InitializeSubReportOdpContext(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, OnDemandProcessingContext parentOdpContext)
 {
     foreach (Microsoft.ReportingServices.ReportIntermediateFormat.SubReport subReport in report.SubReports)
     {
         if (!subReport.ExceededMaxLevel)
         {
             OnDemandProcessingContext parentOdpContext2 = subReport.OdpContext = new OnDemandProcessingContext(parentOdpContext, subReport.ReportContext, subReport);
             if (subReport.RetrievalStatus != Microsoft.ReportingServices.ReportIntermediateFormat.SubReport.Status.DefinitionRetrieveFailed && subReport.Report.HasSubReports)
             {
                 InitializeSubReportOdpContext(subReport.Report, parentOdpContext2);
             }
         }
     }
 }
Esempio n. 14
0
 internal Report(Microsoft.ReportingServices.ReportIntermediateFormat.Report reportDef, Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance, RenderingContext renderingContext, string reportName, string description)
 {
     m_parentDefinitionPath = null;
     m_isOldSnapshot        = false;
     m_reportDef            = reportDef;
     m_reportInstance       = reportInstance;
     m_renderingContext     = renderingContext;
     m_name        = reportName;
     m_description = description;
     if (reportDef.HasHeadersOrFooters)
     {
         m_pageEvaluation = new OnDemandPageEvaluation(this);
         m_renderingContext.SetPageEvaluation(m_pageEvaluation);
     }
 }
 internal AutomaticSubtotalContext(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, List <ICreateSubtotals> createSubtotals, List <Microsoft.ReportingServices.ReportIntermediateFormat.Grouping> domainScopeGroups, NameValidator reportItemNameValidator, NameValidator scopeNameValidator, NameValidator variableNameValidator, Dictionary <string, Microsoft.ReportingServices.ReportIntermediateFormat.ISortFilterScope> reportScopes, List <Microsoft.ReportingServices.ReportIntermediateFormat.ReportItemCollection> reportItemCollections, List <Microsoft.ReportingServices.ReportIntermediateFormat.IAggregateHolder> aggregateHolders, List <Microsoft.ReportingServices.ReportIntermediateFormat.IRunningValueHolder> runningValueHolders, Holder <int> variableSequenceIdCounter, Holder <int> textboxSequenceIdCounter, ScopeTree scopeTree)
 {
     m_createSubtotals         = createSubtotals;
     m_domainScopeGroups       = domainScopeGroups;
     m_reportItemNameValidator = reportItemNameValidator;
     m_scopeNameValidator      = scopeNameValidator;
     m_variableNameValidator   = variableNameValidator;
     m_report = report;
     m_variableSequenceIdCounter        = variableSequenceIdCounter;
     m_textboxSequenceIdCounter         = textboxSequenceIdCounter;
     m_dynamicWithStaticPeerEncountered = false;
     m_location          = LocationFlags.None;
     m_objectName        = null;
     m_objectType        = ObjectType.Tablix;
     m_currentDataRegion = null;
     m_cellLists         = null;
     m_tablixColumns     = null;
     m_rows                                = null;
     m_scopeNameMap                        = new Dictionary <string, string>(StringComparer.Ordinal);
     m_reportItemNameMap                   = new Dictionary <string, string>(StringComparer.Ordinal);
     m_aggregateMap                        = new Dictionary <string, string>(StringComparer.Ordinal);
     m_lookupMap                           = new Dictionary <string, string>(StringComparer.Ordinal);
     m_variableNameMap                     = new Dictionary <string, string>(StringComparer.Ordinal);
     m_currentScope                        = null;
     m_currentScopeBeingCloned             = null;
     m_startIndex                          = new Holder <int>();
     m_currentIndex                        = new Holder <int>();
     m_headerLevel                         = 0;
     m_originalColumnCount                 = 0;
     m_originalRowCount                    = 0;
     m_reportScopes                        = reportScopes;
     m_reportItemCollections               = reportItemCollections;
     m_aggregateHolders                    = aggregateHolders;
     m_runningValueHolders                 = runningValueHolders;
     m_expressionsWithReportItemReferences = new List <Microsoft.ReportingServices.ReportIntermediateFormat.ExpressionInfo>();
     m_visibilitiesWithToggleToUpdate      = new List <Microsoft.ReportingServices.ReportIntermediateFormat.Visibility>();
     m_reportItemsWithRepeatWithToUpdate   = new List <Microsoft.ReportingServices.ReportIntermediateFormat.ReportItem>();
     m_endUserSortWithTarget               = new List <Microsoft.ReportingServices.ReportIntermediateFormat.EndUserSort>();
     m_scopeNamesToClone                   = new Dictionary <string, IRIFDataScope>(StringComparer.Ordinal);
     m_headerLevelHasStaticArray           = null;
     m_currentDataRegionClone              = null;
     m_currentMapClone                     = null;
     m_outerAggregate                      = null;
     m_scopeTree                           = scopeTree;
     m_currentDataScope                    = null;
     m_currentMapVectorLayerClone          = null;
 }
Esempio n. 16
0
        internal void Initialize(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance)
        {
            int size = 0;

            if (report.Parameters != null)
            {
                size = report.Parameters.Count;
            }
            m_parameters = new ParametersImpl(size);
            InitializeGlobalAndUserCollections();
            m_currentFields = new FieldsContext(this);
            m_dataSources   = new DataSourcesImpl(report.DataSourceCount);
            m_dataSets      = new DataSetsImpl(report.DataSetCount);
            InitOrUpdateDataSetCollection(report, reportInstance, initialize: true);
            m_variables   = new VariablesImpl(lockAdd: false);
            m_aggregates  = new AggregatesImpl(lockAdd: false, m_odpContext);
            m_reportItems = new ReportItemsImpl(lockAdd: false);
            m_lookups     = new LookupsImpl();
        }
        internal static void DumpTablixes(Microsoft.ReportingServices.ReportIntermediateFormat.Report report)
        {
            StreamWriter streamWriter = new StreamWriter(new FileStream("TablixDump.html", FileMode.Create));

            streamWriter.WriteLine("<html><body>");
            for (int i = 0; i < report.ReportSections.Count; i++)
            {
                ReportSection reportSection = report.ReportSections[i];
                for (int j = 0; j < reportSection.ReportItems.Count; j++)
                {
                    if (reportSection.ReportItems[j].ObjectType == ObjectType.Tablix)
                    {
                        DumpTablix((Microsoft.ReportingServices.ReportIntermediateFormat.Tablix)reportSection.ReportItems[j], streamWriter);
                    }
                }
            }
            streamWriter.WriteLine("</body></html>");
            streamWriter.Flush();
            streamWriter.Close();
        }
Esempio n. 18
0
        private int InitOrUpdateDataSetCollection(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, Microsoft.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance, bool initialize)
        {
            int dataSetCount = 0;

            for (int i = 0; i < report.DataSourceCount; i++)
            {
                Microsoft.ReportingServices.ReportIntermediateFormat.DataSource dataSource = report.DataSources[i];
                if (initialize && !dataSource.IsArtificialForSharedDataSets)
                {
                    m_dataSources.Add(dataSource);
                }
                if (dataSource.DataSets != null)
                {
                    for (int j = 0; j < dataSource.DataSets.Count; j++)
                    {
                        InitDataSet(reportInstance, dataSource.DataSets[j], ref dataSetCount);
                    }
                }
            }
            return(dataSetCount);
        }
Esempio n. 19
0
        internal static bool PreProcessTablixes(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, OnDemandProcessingContext odpContext, bool onlyWithSubReports)
        {
            bool result = false;

            foreach (Microsoft.ReportingServices.ReportIntermediateFormat.DataSource dataSource in report.DataSources)
            {
                if (dataSource.DataSets == null)
                {
                    continue;
                }
                foreach (Microsoft.ReportingServices.ReportIntermediateFormat.DataSet dataSet in dataSource.DataSets)
                {
                    if (odpContext.CurrentReportInstance.GetDataSetInstance(dataSet, odpContext) != null && dataSet.DataRegions.Count != 0 && !odpContext.IsTablixProcessingComplete(dataSet.IndexInCollection) && (!onlyWithSubReports || dataSet.HasSubReports || (odpContext.InSubreport && odpContext.HasUserSortFilter)))
                    {
                        result = true;
                        TablixDataProcessing(odpContext, dataSet);
                    }
                }
            }
            return(result);
        }
        public DataProcessingController(OnDemandProcessingContext odpContext, Microsoft.ReportingServices.ReportIntermediateFormat.DataSet dataSet, DataSetInstance dataSetInstance)
        {
            m_odpContext      = odpContext;
            m_dataSet         = dataSet;
            m_dataSetInstance = dataSetInstance;
            m_report          = odpContext.ReportDefinition;
            m_odpContext.EnsureScalabilitySetup();
            UserSortFilterContext userSortFilterContext = m_odpContext.UserSortFilterContext;

            if (!m_odpContext.InSubreportInDataRegion)
            {
                userSortFilterContext.ResetContextForTopLevelDataSet();
            }
            m_hasSortFilterInfo = m_odpContext.PopulateRuntimeSortFilterEventInfo(m_dataSet);
            if (-1 == userSortFilterContext.DataSetGlobalId)
            {
                userSortFilterContext.DataSetGlobalId = m_dataSet.GlobalID;
            }
            Global.Tracer.Assert(m_odpContext.ReportObjectModel != null && m_odpContext.ReportRuntime != null);
            m_odpContext.SetupFieldsForNewDataSet(m_dataSet, m_dataSetInstance, addRowIndex: true, noRows: true);
            m_dataSet.SetFilterExprHost(m_odpContext.ReportObjectModel);
            m_dataSetObj = new RuntimeOnDemandDataSetObj(m_odpContext, m_dataSet, m_dataSetInstance);
        }
Esempio n. 21
0
 internal ScopeTree(Microsoft.ReportingServices.ReportIntermediateFormat.Report report)
     : this()
 {
     m_report = report;
 }
Esempio n. 22
0
 public ProcessReportOdpSnapshotReprocessing(IConfiguration configuration, ProcessingContext pc, Microsoft.ReportingServices.ReportIntermediateFormat.Report report, ErrorContext errorContext, ReportProcessing.StoreServerParameters storeServerParameters, GlobalIDOwnerCollection globalIDOwnerCollection, ExecutionLogContext executionLogContext, OnDemandMetadata odpMetadataFromSnapshot)
     : base(configuration, pc, report, errorContext, storeServerParameters, globalIDOwnerCollection, executionLogContext, odpMetadataFromSnapshot)
 {
 }
 public ProcessReportOdpSnapshot(IConfiguration configuration, ProcessingContext pc, Microsoft.ReportingServices.ReportIntermediateFormat.Report report, ErrorContext errorContext, ReportProcessing.StoreServerParameters storeServerParameters, GlobalIDOwnerCollection globalIDOwnerCollection, ExecutionLogContext executionLogContext, OnDemandMetadata odpMetadataFromSnapshot)
     : base(configuration, pc, report, errorContext, storeServerParameters, globalIDOwnerCollection, executionLogContext)
 {
     Global.Tracer.Assert(odpMetadataFromSnapshot != null, "Must provide existing metadata when processing an existing snapshot");
     Global.Tracer.Assert(odpMetadataFromSnapshot.OdpChunkManager != null && odpMetadataFromSnapshot.ReportSnapshot != null, "Must provide chunk manager and ReportSnapshot when processing an existing snapshot");
     m_odpMetadataFromSnapshot = odpMetadataFromSnapshot;
 }
Esempio n. 24
0
 public ProcessReportOdpWithCachedData(IConfiguration configuration, ProcessingContext pc, Microsoft.ReportingServices.ReportIntermediateFormat.Report report, ErrorContext errorContext, ReportProcessing.StoreServerParameters storeServerParameters, GlobalIDOwnerCollection globalIDOwnerCollection, ExecutionLogContext executionLogContext, DateTime executionTime, OnDemandMetadata odpMetadataFromDataCache)
     : base(configuration, pc, report, errorContext, storeServerParameters, globalIDOwnerCollection, executionLogContext, executionTime)
 {
     Global.Tracer.Assert(odpMetadataFromDataCache != null, "Must provide existing metadata to process with cached data");
     m_odpMetadataFromDataCache = odpMetadataFromDataCache;
 }
Esempio n. 25
0
 internal DataSetCollection(Microsoft.ReportingServices.ReportIntermediateFormat.Report reportDef, RenderingContext renderingContext)
 {
     m_reportDef       = reportDef;
     m_rendringContext = renderingContext;
 }
Esempio n. 26
0
 protected RuntimeAtomicDataSource(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, Microsoft.ReportingServices.ReportIntermediateFormat.DataSource dataSource, OnDemandProcessingContext processingContext, bool mergeTransactions)
     : base(report, dataSource, processingContext, mergeTransactions)
 {
 }
 public ProcessReportOdpUserSort(IConfiguration configuration, ProcessingContext pc, Microsoft.ReportingServices.ReportIntermediateFormat.Report report, ErrorContext errorContext, ReportProcessing.StoreServerParameters storeServerParameters, GlobalIDOwnerCollection globalIDOwnerCollection, ExecutionLogContext executionLogContext, OnDemandMetadata odpMetadataFromSnapshot, SortFilterEventInfoMap oldUserSortInformation, EventInformation newUserSortInformation, string oldUserSortEventSourceUniqueName)
     : base(configuration, pc, report, errorContext, storeServerParameters, globalIDOwnerCollection, executionLogContext, odpMetadataFromSnapshot)
 {
     m_oldUserSortInformation           = oldUserSortInformation;
     m_newUserSortInformation           = newUserSortInformation;
     m_oldUserSortEventSourceUniqueName = oldUserSortEventSourceUniqueName;
 }
Esempio n. 28
0
 public ProcessReportOdpStreaming(IConfiguration configuration, ProcessingContext pc, Microsoft.ReportingServices.ReportIntermediateFormat.Report report, ErrorContext errorContext, ReportProcessing.StoreServerParameters storeServerParameters, GlobalIDOwnerCollection globalIDOwnerCollection, ExecutionLogContext executionLogContext, DateTime executionTime, IAbortHelper abortHelper)
     : base(configuration, pc, report, errorContext, storeServerParameters, globalIDOwnerCollection, executionLogContext, executionTime)
 {
     m_abortHelper = abortHelper;
 }
 internal RetrievalManager(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, OnDemandProcessingContext context)
 {
     m_report     = report;
     m_odpContext = context;
 }
 protected RuntimeIncrementalDataSource(Microsoft.ReportingServices.ReportIntermediateFormat.Report report, Microsoft.ReportingServices.ReportIntermediateFormat.DataSet dataSet, OnDemandProcessingContext odpContext)
     : base(report, dataSet.DataSource, odpContext, mergeTransactions: false)
 {
     m_dataSet = dataSet;
 }