Example #1
0
 private async Task ReadGeometryAsync(
     DbSpatialDataReader spatialReader, int ordinal, CancellationToken cancellationToken)
 {
     _objects[_currentRowNumber * _objectCount + _ordinalToIndexMap[ordinal]] =
         await spatialReader.GetGeometryAsync(ordinal, cancellationToken).ConfigureAwait(continueOnCapturedContext: false);
 }
Example #2
0
 private async Task ReadGeometryAsync(
     DbSpatialDataReader spatialReader, int ordinal, CancellationToken cancellationToken)
 {
     _objects[_currentRowNumber * _objectCount + _ordinalToIndexMap[ordinal]] =
         await spatialReader.GetGeometryAsync(ordinal, cancellationToken).WithCurrentCulture();
 }