SqlSpatialServices.GetInteriorRingCount Method (DbGeometry)
Returns the number of interior rings in the given DbGeometry value, if it represents a polygon.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value, which need not represent a polygon.
Return Value
Type: System.Nullable<Int32>The number of elements in geometryValue, if it represents a polygon; otherwise, null.