Exemplo n.º 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);
 }
Exemplo n.º 2
0
 private async Task ReadGeometryAsync(
     DbSpatialDataReader spatialReader, int ordinal, CancellationToken cancellationToken)
 {
     _objects[_currentRowNumber * _objectCount + _ordinalToIndexMap[ordinal]] =
         await spatialReader.GetGeometryAsync(ordinal, cancellationToken).WithCurrentCulture();
 }