SqlSpatialServices.GetSpatialTypeName Method

 

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

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

NameDescription
System_CAPS_pubmethodGetSpatialTypeName(DbGeography)

Returns a value that indicates the spatial type name of the given DbGeography value.(Overrides DbSpatialServices.GetSpatialTypeName(DbGeography).)

System_CAPS_pubmethodGetSpatialTypeName(DbGeometry)

Returns a value that indicates the spatial type name of the given DbGeometry value.(Overrides DbSpatialServices.GetSpatialTypeName(DbGeometry).)


SqlSpatialServices.GetSpatialTypeName Method (DbGeography)

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

public override string GetSpatialTypeName(
	DbGeography geographyValue
)

Parameters

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

The geography value.

Return Value

Type: System.String

The spatial type name of the given DbGeography value.


SqlSpatialServices.GetSpatialTypeName Method (DbGeometry)

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

public override string GetSpatialTypeName(
	DbGeometry geometryValue
)

Parameters

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

The geometry value.

Return Value

Type: System.String

The spatial type name of the given DbGeometry value.