SqlSpatialServices.GetSpatialTypeName 方法

定义

重载

GetSpatialTypeName(DbGeography)

返回一个值,该值指示给定 DbGeography 值的空间类型名称。

GetSpatialTypeName(DbGeometry)

返回一个值,该值指示给定 DbGeometry 值的空间类型名称。

GetSpatialTypeName(DbGeography)

返回一个值,该值指示给定 DbGeography 值的空间类型名称。

public override string GetSpatialTypeName(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetSpatialTypeName : System.Data.Entity.Spatial.DbGeography -> string
Public Overrides Function GetSpatialTypeName (geographyValue As DbGeography) As String

参数

geographyValue
DbGeography

地理值。

返回

给定 DbGeography 值的空间类型名称。

适用于

GetSpatialTypeName(DbGeometry)

返回一个值,该值指示给定 DbGeometry 值的空间类型名称。

public override string GetSpatialTypeName(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetSpatialTypeName : System.Data.Entity.Spatial.DbGeometry -> string
Public Overrides Function GetSpatialTypeName (geometryValue As DbGeometry) As String

参数

geometryValue
DbGeometry

几何值。

返回

给定 DbGeometry 值的空间类型名称。

适用于