src/Shared/EntityFramework.SqlServer/SqlSpatialFunctions.cs
/// <summary>Returns the total number of rings in a Polygon instance.</summary>
/// <returns>The total number of rings.</returns>
/// <param name="geographyValue">The geography value.</param>
Returns the total number of rings in a Polygon instance.
Returns the total number of rings in a Polygon instance .
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")]
        [DbFunction("SqlServer", "NUMRINGS")]
        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Num",
            Justification = "Naming convention prescribed by OGC specification")]
        public static Int32? NumRings(DbGeography geographyValue)
        {
            throw new NotSupportedException(Strings.ELinq_DbFunctionDirectCall);
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] [ DbFunction ( " " , " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " , Justification = " " ) ] public static Int32 ? NumRings ( DbGeography geographyValue ) { throw new NotSupportedException ( Strings . ELinq_DbFunctionDirectCall ) ; }
Returns the total number of rings in a Polygon instance.
Returns the total number of rings in a Polygon instance .
The total number of rings.
The total number of rings .
geographyValue
DbGeography
The geography value.
The geography value .