SqlSpatialServices.GetDimension Method
Gets the dimension of the given value.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | GetDimension(DbGeography) | Gets the dimension of the given DbGeography value or, if the value is a collection, the largest element dimension.(Overrides DbSpatialServices.GetDimension(DbGeography).) |
![]() | GetDimension(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.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value for which the dimension value should be retrieved.
Return Value
Type: System.Int32The 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.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value for which the dimension value should be retrieved.
Return Value
Type: System.Int32The dimension of geometryValue, or the largest element dimension if DbGeometry is a collection.