src/Shared/EntityFramework.SqlServer/SqlSpatialFunctions.cs
/// <summary>Tests if the SqlGeography instance is the same as the specified type.</summary>
/// <returns>A string that specifies one of the 12 types exposed in the geography type hierarchy.</returns>
/// <param name="geographyValue">The geography value.</param>
/// <param name="geometryTypeName">A string that specifies one of the 12 types exposed in the geography type hierarchy.</param>
Tests if the SqlGeography instance is the same as the specified type.
Tests if the SqlGeography instance is the same as the specified type .
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geometryTypeName")]
        [DbFunction("SqlServer", "INSTANCEOF")]
        public static Boolean? InstanceOf(DbGeography geographyValue, String geometryTypeName)
        {
            throw new NotSupportedException(Strings.ELinq_DbFunctionDirectCall);
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] [ DbFunction ( " " , " " ) ] public static Boolean ? InstanceOf ( DbGeography geographyValue , String geometryTypeName ) { throw new NotSupportedException ( Strings . ELinq_DbFunctionDirectCall ) ; }
Tests if the SqlGeography instance is the same as the specified type.
Tests if the SqlGeography instance is the same as the specified type .
A string that specifies one of the 12 types exposed in the geography type hierarchy.
A string that specifies one of the 12 types exposed in the geography type hierarchy .
geographyValue
DbGeography
The geography value.
The geography value .
geometryTypeName
String
A string that specifies one of the 12 types exposed in the geography type hierarchy.
A string that specifies one of the 12 types exposed in the geography type hierarchy .