src/Shared/EntityFramework.SqlServer/SqlSpatialFunctions.cs
/// <summary>Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type. </summary>
/// <returns>The converted geometry instance.</returns>
/// <param name="geometryValue">The geometry value.</param>
Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type.
Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium ( OGC ) type .
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geometryValue")]
        [DbFunction("SqlServer", "MAKEVALID")]
        public static DbGeometry MakeValid(DbGeometry geometryValue)
        {
            throw new NotSupportedException(Strings.ELinq_DbFunctionDirectCall);
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] [ DbFunction ( " " , " " ) ] public static DbGeometry MakeValid ( DbGeometry geometryValue ) { throw new NotSupportedException ( Strings . ELinq_DbFunctionDirectCall ) ; }
Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type.
Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium ( OGC ) type .
The converted geometry instance.
The converted geometry instance .
geometryValue
DbGeometry
The geometry value.
The geometry value .