SqlSpatialFunctions.MakeValid Method (DbGeometry)

.NET Framework (current version)
 

Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type.

Namespace:   System.Data.Objects.SqlClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[EdmFunctionAttribute("SqlServer", "MAKEVALID")]
public static DbGeometry MakeValid(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The geometry value.

Return Value

Type: System.Data.Spatial.DbGeometry

The converted geometry instance.

.NET Framework
Available since 4.5
Return to top
Show: