src/Shared/EntityFramework.SqlServer/SqlSpatialFunctions.cs
/// <summary>Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID). </summary>
/// <returns>The constructed geometry instance.</returns>
/// <param name="xCoordinate">The x-coordinate of the Point being generated.</param>
/// <param name="yCoordinate">The y-coordinate of the Point being generated</param>
/// <param name="spatialReferenceId">The SRID of the geography instance.</param>
Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID).
Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID ( SRID ) .
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "xCoordinate")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "spatialReferenceId")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "yCoordinate")]
        [DbFunction("SqlServer", "POINTGEOMETRY")]
        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x",
            Justification = "Naming convention prescribed by OGC specification")]
        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "y",
            Justification = "Naming convention prescribed by OGC specification")]
        public static DbGeometry PointGeometry(Double? xCoordinate, Double? yCoordinate, Int32? spatialReferenceId)
        {
            throw new NotSupportedException(Strings.ELinq_DbFunctionDirectCall);
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] [ DbFunction ( " " , " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " , Justification = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " , Justification = " " ) ] public static DbGeometry PointGeometry ( Double ? xCoordinate , Double ? yCoordinate , Int32 ? spatialReferenceId ) { throw new NotSupportedException ( Strings . ELinq_DbFunctionDirectCall ) ; }
Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID).
Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID ( SRID ) .
The constructed geometry instance.
The constructed geometry instance .
xCoordinate
Double?
The x-coordinate of the Point being generated.
The x - coordinate of the Point being generated .
yCoordinate
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 .