public void AddOrUpdate(AspNetCore.ReportingServices.ReportIntermediateFormat.DataSet dataSetDef, DataSetInstance dataSetInstance, DateTime reportExecutionTime) { try { if (this.m_lockAdd) { Monitor.Enter(this.m_collection); } DataSetImpl dataSetImpl = this.m_collection[dataSetDef.Name] as DataSetImpl; if (dataSetImpl == null) { this.m_collection.Add(dataSetDef.Name, new DataSetImpl(dataSetDef, dataSetInstance, reportExecutionTime)); } else { dataSetImpl.Update(dataSetInstance, reportExecutionTime); } } finally { if (this.m_lockAdd) { Monitor.Exit(this.m_collection); } } }
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); }