public static Geometry FromSqlSpatialGeography(this Microsoft.SqlServer.Types.SqlGeography geography) { return(SqlServerConverter.ReadGeography(geography)); }
public static Microsoft.SqlServer.Types.SqlGeography ToSqlSpatialGeography(this Geometry geometry) { return(SqlServerConverter.CreateGeography(geometry)); }