src/Shared/EntityFramework/Spatial/DbGeography.cs
/// <summary>
/// Creates a new <see cref="T:System.Data.Entity.Spatial.DbGeography" /> collection value based on the specified well known text value and coordinate system identifier (SRID).
/// </summary>
/// <returns>A new DbGeography value as defined by the well known text value with the specified coordinate system identifier.</returns>
/// <param name="geographyCollectionWellKnownText">A string that contains a well known text 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  collection value based on the specified well known text value and coordinate system identifier (SRID).
Creates a new collection value based on the specified well known text value and coordinate system identifier ( SRID ) .
public static DbGeography GeographyCollectionFromText(string geographyCollectionWellKnownText, int coordinateSystemId)
        {
            Check.NotNull(geographyCollectionWellKnownText, "geographyCollectionWellKnownText");
            return DbSpatialServices.Default.GeographyCollectionFromText(geographyCollectionWellKnownText, coordinateSystemId);
        }
public static DbGeography GeographyCollectionFromText ( string geographyCollectionWellKnownText , int coordinateSystemId ) { Check . NotNull ( geographyCollectionWellKnownText , " " ) ; return DbSpatialServices . Default . GeographyCollectionFromText ( geographyCollectionWellKnownText , coordinateSystemId ) ; }
Creates a new  collection value based on the specified well known text value and coordinate system identifier (SRID).
Creates a new collection value based on the specified well known text value and coordinate system identifier ( SRID ) .
A new DbGeography value as defined by the well known text value with the specified coordinate system identifier.
A new DbGeography value as defined by the well known text value with the specified coordinate system identifier .
geographyCollectionWellKnownText
string
A string that contains a well known text representation of the geography value.
A string that contains a well known text 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 .