Example #1
0
        public override Task <ExecutionStatisticsPlanItemCollection> GetCursorExecutionStatisticsAsync(CancellationToken cancellationToken)
        {
            var rootItem = new ExecutionStatisticsPlanItem();

            SetBasePlanItemData(rootItem);

            var planItemCollection = new ExecutionStatisticsPlanItemCollection();

            planItemCollection.Add(rootItem);
            planItemCollection.PlanText = DummyPlanText;
            planItemCollection.SetAllItems();

            return(Task.FromResult(planItemCollection));
        }
 public override async Task MapReaderData(OracleDataReader reader, CancellationToken cancellationToken)
 {
     ItemCollection = await _executionStatisticsBuilder.Build(reader, cancellationToken);
 }