Share via


SpatialEdmFunctions.IsRing(DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'IsRing' function with the specified argument, which must have an Edm.Geometry result type. The result type is Edm.Boolean.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression IsRing (this System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue);
static member IsRing : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function IsRing (geometryValue As DbExpression) As DbFunctionExpression

Parameters

geometryValue
DbExpression

An expression that specifies the geometry curve value from which the IsRing value should be retrieved.

Returns

A new DbFunctionExpression that returns either a Boolean value indicating whether geometryValue is a ring (both closed and simple), or null if geometryValue is not a curve.

Applies to