SqlSpatialServices.GetIsClosed Method

 

Determines whether the given value is closed.

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

NameDescription
System_CAPS_pubmethodGetIsClosed(DbGeography)

Returns a nullable Boolean value that whether the given DbGeography value is closed, which may be null if the value does not represent a curve.(Overrides DbSpatialServices.GetIsClosed(DbGeography).)

System_CAPS_pubmethodGetIsClosed(DbGeometry)

Returns a nullable Boolean value that whether the given DbGeometry value is closed, which may be null if the value does not represent a curve.(Overrides DbSpatialServices.GetIsClosed(DbGeometry).)


SqlSpatialServices.GetIsClosed Method (DbGeography)

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

public override Nullable<bool> GetIsClosed(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The geography value, which need not represent a curve.

Return Value

Type: System.Nullable<Boolean>

true if the given DbGeography value is closed; otherwise, false.


SqlSpatialServices.GetIsClosed Method (DbGeometry)

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

public override Nullable<bool> GetIsClosed(
	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 DbGeography value is closed; otherwise, false.