语言

DbSpatialServices.GetDimension 方法

定义

重载

名称 说明
GetDimension(DbGeography)

获取给定 DbGeography 值的维度;如果值为集合,则获取最大元素维度。

GetDimension(DbGeometry)

获取给定 DbGeometry 值的维度;如果值为集合,则获取最大元素维度。

GetDimension(DbGeography)

获取给定 DbGeography 值的维度;如果值为集合,则获取最大元素维度。

public abstract int GetDimension(System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetDimension : System.Data.Entity.Spatial.DbGeography -> int
Public MustOverride Function GetDimension (geographyValue As DbGeography) As Integer

参数

geographyValue
DbGeography

应为其检索维度值的地理值。

返回

geographyValue 的维度;如果 DbGeography 为集合,则为最大元素维度。

例外

geographyValue 为 null。

geographyValue 与此空间服务实现不兼容。

适用于

GetDimension(DbGeometry)

获取给定 DbGeometry 值的维度;如果值为集合,则获取最大元素维度。

public abstract int GetDimension(System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetDimension : System.Data.Entity.Spatial.DbGeometry -> int
Public MustOverride Function GetDimension (geometryValue As DbGeometry) As Integer

参数

geometryValue
DbGeometry

应为其检索维度值的几何图形值。

返回

geometryValue 的维度;如果 DbGeometry 为集合,则为最大元素维度。

适用于