SqlSpatialServices.GetDimension Method

 

Gets the dimension of the given value.

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

NameDescription
System_CAPS_pubmethodGetDimension(DbGeography)

Gets the dimension of the given DbGeography value or, if the value is a collection, the largest element dimension.(Overrides DbSpatialServices.GetDimension(DbGeography).)

System_CAPS_pubmethodGetDimension(DbGeometry)

Gets the dimension of the given DbGeometry value or, if the value is a collection, the largest element dimension.(Overrides DbSpatialServices.GetDimension(DbGeometry).)


SqlSpatialServices.GetDimension Method (DbGeography)

Gets the dimension of the given DbGeography value or, if the value is a collection, the largest element dimension.

public override int GetDimension(
	DbGeography geographyValue
)

Parameters

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

The geography value for which the dimension value should be retrieved.

Return Value

Type: System.Int32

The dimension of geographyValue, or the largest element dimension if DbGeography is a collection.


SqlSpatialServices.GetDimension Method (DbGeometry)

Gets the dimension of the given DbGeometry value or, if the value is a collection, the largest element dimension.

public override int GetDimension(
	DbGeometry geometryValue
)

Parameters

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

The geometry value for which the dimension value should be retrieved.

Return Value

Type: System.Int32

The dimension of geometryValue, or the largest element dimension if DbGeometry is a collection.