public override async Task <DbGeography> GetGeographyAsync(int ordinal, CancellationToken cancellationToken) { EnsureGeographyColumn(ordinal); var geogBytes = await _reader.GetFieldValueAsync <SqlBytes>(ordinal, cancellationToken); var providerValue = _sqlGeographyFromBinaryReader.Value(new BinaryReader(geogBytes.Stream)); return(SqlSpatialServices.Instance.GeographyFromProviderValue(providerValue)); }