DbSpatialServices.GetIsValid Method (DbGeometry)
Returns a nullable Boolean value that whether the given DbGeometry value is valid.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value.
Exception | Condition |
---|---|
ArgumentNullException | geometryValue is null. |
ArgumentException | geometryValue is not compatible with this spatial services implementation. |