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