DbSpatialServices.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 abstract string GetSpatialTypeName (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetSpatialTypeName : System.Data.Entity.Spatial.DbGeography -> string
Public MustOverride Function GetSpatialTypeName (geographyValue As DbGeography) As String
Parameters
- geographyValue
- DbGeography
The geography value.
Returns
The spatial type name of the given DbGeography value.
Exceptions
geographyValue
is null.
geographyValue
is not compatible with this spatial services implementation.
Applies to
GetSpatialTypeName(DbGeometry)
Returns a value that indicates the spatial type name of the given DbGeometry value.
public abstract string GetSpatialTypeName (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetSpatialTypeName : System.Data.Entity.Spatial.DbGeometry -> string
Public MustOverride Function GetSpatialTypeName (geometryValue As DbGeometry) As String
Parameters
- geometryValue
- DbGeometry
The geometry value.
Returns
The spatial type name of the given DbGeometry value.
Exceptions
geometryValue
is null.
geometryValue
is not compatible with this spatial services implementation.
Applies to
Entity Framework