コード例 #1
0
 public static Geometry FromSqlSpatialGeography(this Microsoft.SqlServer.Types.SqlGeography geography)
 {
     return(SqlServerConverter.ReadGeography(geography));
 }
コード例 #2
0
 public static Microsoft.SqlServer.Types.SqlGeography ToSqlSpatialGeography(this Geometry geometry)
 {
     return(SqlServerConverter.CreateGeography(geometry));
 }