src/Shared/EntityFramework.SqlServer/SqlSpatialFunctions.cs
/// <summary>Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID). </summary>
/// <returns>The constructed geography instance.</returns>
/// <param name="latitude">The x-coordinate of the Point being generated.</param>
/// <param name="longitude">The y-coordinate of the Point being generated</param>
/// <param name="spatialReferenceId">The SRID of the geography instance.</param>
Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID).
Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID ( SRID ) .
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "latitude")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "spatialReferenceId")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "longitude")]
        [DbFunction("SqlServer", "POINTGEOGRAPHY")]
        public static DbGeography PointGeography(Double? latitude, Double? longitude, Int32? spatialReferenceId)
        {
            throw new NotSupportedException(Strings.ELinq_DbFunctionDirectCall);
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] [ DbFunction ( " " , " " ) ] public static DbGeography PointGeography ( Double ? latitude , Double ? longitude , Int32 ? spatialReferenceId ) { throw new NotSupportedException ( Strings . ELinq_DbFunctionDirectCall ) ; }
Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID).
Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID ( SRID ) .
The constructed geography instance.
The constructed geography instance .
latitude
Double?
The x-coordinate of the Point being generated.
The x - coordinate of the Point being generated .
longitude
Double?
The y-coordinate of the Point being generated
The y - coordinate of the Point being generated
spatialReferenceId
Int32?
The SRID of the geography instance.
The SRID of the geography instance .