protected override IGeometry Read(byte[] b) { var geoReader = new MsSql2008GeographyReader() /*{Factory = RandomGeometryHelper.Factory}*/; return geoReader.Read(b); }
protected override IGeometry Read(byte[] b) { var geoReader = new MsSql2008GeographyReader() /*{Factory = RandomGeometryHelper.Factory}*/; return(geoReader.Read(b)); }
public static IBasicGeometry ReadGeography(SqlDataReader reader, int index) { return(GeographyReader.Read((SqlGeography)reader.GetValue(index)).ToDotSpatial()); }