src/Shared/EntityFramework/Spatial/DbGeography.cs
/// <summary>
/// Creates a new <see cref="T:System.Data.Entity.Spatial.DbGeography" /> polygon value based on the specified well known binary value and coordinate system identifier (SRID).
/// </summary>
/// <returns>A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier.</returns>
/// <param name="polygonWellKnownBinary">A byte array that contains a well known binary representation of the geography value.</param>
/// <param name="coordinateSystemId">The identifier of the coordinate system that the new DbGeography value should use.</param>
Creates a new  polygon value based on the specified well known binary value and coordinate system identifier (SRID).
Creates a new polygon value based on the specified well known binary value and coordinate system identifier ( SRID ) .
public static DbGeography PolygonFromBinary(byte[] polygonWellKnownBinary, int coordinateSystemId)
        {
            Check.NotNull(polygonWellKnownBinary, "polygonWellKnownBinary");
            return DbSpatialServices.Default.GeographyPolygonFromBinary(polygonWellKnownBinary, coordinateSystemId);
        }
public static DbGeography PolygonFromBinary ( byte [ ] polygonWellKnownBinary , int coordinateSystemId ) { Check . NotNull ( polygonWellKnownBinary , " " ) ; return DbSpatialServices . Default . GeographyPolygonFromBinary ( polygonWellKnownBinary , coordinateSystemId ) ; }
Creates a new  polygon value based on the specified well known binary value and coordinate system identifier (SRID).
Creates a new polygon value based on the specified well known binary value and coordinate system identifier ( SRID ) .
A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier.
A new DbGeography value as defined by the well known binary value with the specified coordinate system identifier .
polygonWellKnownBinary
byte[]
A byte array that contains a well known binary representation of the geography value.
A byte array that contains a well known binary representation of the geography value .
coordinateSystemId
int
The identifier of the coordinate system that the new DbGeography value should use.
The identifier of the coordinate system that the new DbGeography value should use .