public void Close() { if (this.m_dataSource != null) { this.m_dataSource.RecordTimeDataRetrieval(); this.m_dataSource.Teardown(); this.m_dataSource = null; } }
public LiveRecordRowReader(DataSet dataSet, OnDemandProcessingContext odpContext) { this.m_dataSource = new RuntimeLiveReaderDataSource(odpContext.ReportDefinition, dataSet, odpContext); this.m_dataSource.Initialize(); }