public ObjectModelImpl(OnDemandProcessingContext odpContext) { this.m_currentFields = null; this.m_parameters = null; this.m_globals = null; this.m_user = null; this.m_reportItems = null; this.m_aggregates = null; this.m_lookups = null; this.m_dataSets = null; this.m_dataSources = null; this.m_odpContext = odpContext; }
public ObjectModelImpl(ObjectModelImpl copy, OnDemandProcessingContext odpContext) { this.m_odpContext = odpContext; this.m_currentFields = new FieldsContext(this); this.m_parameters = copy.m_parameters; this.m_globals = new GlobalsImpl(odpContext); this.m_user = new UserImpl(copy.m_user, odpContext); this.m_dataSets = copy.m_dataSets; this.m_dataSources = copy.m_dataSources; this.m_reportItems = null; this.m_aggregates = null; this.m_lookups = null; }
public void Initialize(DataSetDefinition dataSetDefinition) { int size = 0; if (dataSetDefinition.DataSetCore != null && dataSetDefinition.DataSetCore.Query != null && dataSetDefinition.DataSetCore.Query.Parameters != null) { size = dataSetDefinition.DataSetCore.Query.Parameters.Count; } this.m_parameters = new ParametersImpl(size); this.InitializeGlobalAndUserCollections(); this.m_currentFields = new FieldsContext(this, dataSetDefinition.DataSetCore); this.m_dataSources = new DataSourcesImpl(0); this.m_dataSets = new DataSetsImpl(0); this.m_variables = new VariablesImpl(false); this.m_aggregates = new AggregatesImpl(false, this.m_odpContext); this.m_reportItems = new ReportItemsImpl(false); this.m_lookups = new LookupsImpl(); }
public void Initialize(AspNetCore.ReportingServices.ReportIntermediateFormat.Report report, AspNetCore.ReportingServices.ReportIntermediateFormat.ReportInstance reportInstance) { int size = 0; if (report.Parameters != null) { size = report.Parameters.Count; } this.m_parameters = new ParametersImpl(size); this.InitializeGlobalAndUserCollections(); this.m_currentFields = new FieldsContext(this); this.m_dataSources = new DataSourcesImpl(report.DataSourceCount); this.m_dataSets = new DataSetsImpl(report.DataSetCount); this.InitOrUpdateDataSetCollection(report, reportInstance, true); this.m_variables = new VariablesImpl(false); this.m_aggregates = new AggregatesImpl(false, this.m_odpContext); this.m_reportItems = new ReportItemsImpl(false); this.m_lookups = new LookupsImpl(); }
private void UpdateReportOMDataSet() { AspNetCore.ReportingServices.ReportProcessing.OnDemandReportObjectModel.DataSetsImpl dataSetsImpl = base.m_odpContext.ReportObjectModel.DataSetsImpl; AspNetCore.ReportingServices.ReportProcessing.OnDemandReportObjectModel.DataSetImpl dataSetImpl = (AspNetCore.ReportingServices.ReportProcessing.OnDemandReportObjectModel.DataSetImpl)((DataSets)dataSetsImpl)[base.m_dataSet.Name]; dataSetImpl.Update(this.m_dataSetInstance, base.m_odpContext.ExecutionTime); }