public override async Task MapReaderData(OracleDataReader reader, CancellationToken cancellationToken) { while (await reader.ReadAsynchronous(cancellationToken)) { var partitionDetails = _partitionDataModel ?? new PartitionDetailsModel { Name = (string)reader["PARTITION_NAME"] }; MapPartitionSegmentData(reader, partitionDetails); if (_partitionDataModel == null) { DataModel.AddPartition(partitionDetails); } } }