SqlSpatialFunctions.NumRings Method (DbGeography)
Returns the total number of rings in a Polygon instance.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Num", Justification = "Naming convention prescribed by OGC specification")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")] [DbFunctionAttribute("SqlServer", "NUMRINGS")] public static Nullable<int> NumRings( DbGeography geographyValue )
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value.