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