SqlSpatialServices.GetSpatialTypeName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework