SqlSpatialServices.GetIsRing Method (DbGeometry)

 

Returns a nullable Boolean value that whether the given DbGeometry value is a ring, which may be null if the value does not represent a curve.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

public override Nullable<bool> GetIsRing(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value, which need not represent a curve.

Return Value

Type: System.Nullable<Boolean>

true if the given DbGeometry value is a ring; otherwise, false.