Share via


SqlSpatialServices.GetSpatialTypeName Method

Definition

Overloads

GetSpatialTypeName(DbGeography)

Returns a value that indicates the spatial type name of the given DbGeography value.

GetSpatialTypeName(DbGeometry)

Returns a value that indicates the spatial type name of the given DbGeometry value.

GetSpatialTypeName(DbGeography)

Returns a value that indicates the spatial type name of the given DbGeography value.

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

Parameters

geographyValue
DbGeography

The geography value.

Returns

The spatial type name of the given DbGeography value.

Applies to

GetSpatialTypeName(DbGeometry)

Returns a value that indicates the spatial type name of the given DbGeometry value.

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

Parameters

geometryValue
DbGeometry

The geometry value.

Returns

The spatial type name of the given DbGeometry value.

Applies to