SqlSpatialServices.CreateProviderValue Method
Creates a provider-specific value compatible with this spatial services implementation based on the specified well known representation.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | CreateProviderValue(DbGeographyWellKnownValue) | Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeography representation.(Overrides DbSpatialServices.CreateProviderValue(DbGeographyWellKnownValue).) |
![]() | CreateProviderValue(DbGeometryWellKnownValue) | Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeometry representation.(Overrides DbSpatialServices.CreateProviderValue(DbGeometryWellKnownValue).) |
SqlSpatialServices.CreateProviderValue Method (DbGeographyWellKnownValue)
Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeography representation.
Parameters
- wellKnownValue
-
Type:
System.Data.Entity.Spatial.DbGeographyWellKnownValue
An instance of DbGeographyWellKnownValue that contains the well-known representation of a geography value.
Return Value
Type: System.ObjectA provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation.
SqlSpatialServices.CreateProviderValue Method (DbGeometryWellKnownValue)
Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeometry representation.
Parameters
- wellKnownValue
-
Type:
System.Data.Entity.Spatial.DbGeometryWellKnownValue
An instance of DbGeometryWellKnownValue that contains the well-known representation of a geometry value.
Return Value
Type: System.ObjectA provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation.