src/Shared/EntityFramework/Spatial/DbGeography.cs
/// <summary>
/// Creates a new <see cref="T:System.Data.Entity.Spatial.DbGeography" /> line 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="lineWellKnownBinary">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  line value based on the specified well known binary value and coordinate system identifier (SRID).
Creates a new line value based on the specified well known binary value and coordinate system identifier ( SRID ) .
public static DbGeography LineFromBinary(byte[] lineWellKnownBinary, int coordinateSystemId)
        {
            Check.NotNull(lineWellKnownBinary, "lineWellKnownBinary");
            return DbSpatialServices.Default.GeographyLineFromBinary(lineWellKnownBinary, coordinateSystemId);
        }
public static DbGeography LineFromBinary ( byte [ ] lineWellKnownBinary , int coordinateSystemId ) { Check . NotNull ( lineWellKnownBinary , " " ) ; return DbSpatialServices . Default . GeographyLineFromBinary ( lineWellKnownBinary , coordinateSystemId ) ; }
Creates a new  line value based on the specified well known binary value and coordinate system identifier (SRID).
Creates a new line 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 .
lineWellKnownBinary
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 .