DbSpatialServices.CreateProviderValue 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
CreateProviderValue(DbGeometryWellKnownValue) |
Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeometry representation. |
CreateProviderValue(DbGeographyWellKnownValue) |
Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeography representation. |
CreateProviderValue(DbGeometryWellKnownValue)
Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeometry representation.
public abstract object CreateProviderValue (System.Data.Entity.Spatial.DbGeometryWellKnownValue wellKnownValue);
abstract member CreateProviderValue : System.Data.Entity.Spatial.DbGeometryWellKnownValue -> obj
Public MustOverride Function CreateProviderValue (wellKnownValue As DbGeometryWellKnownValue) As Object
Parameters
- wellKnownValue
- DbGeometryWellKnownValue
An instance of DbGeometryWellKnownValue that contains the well-known representation of a geometry value.
Returns
A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation.
Applies to
CreateProviderValue(DbGeographyWellKnownValue)
Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeography representation.
public abstract object CreateProviderValue (System.Data.Entity.Spatial.DbGeographyWellKnownValue wellKnownValue);
abstract member CreateProviderValue : System.Data.Entity.Spatial.DbGeographyWellKnownValue -> obj
Public MustOverride Function CreateProviderValue (wellKnownValue As DbGeographyWellKnownValue) As Object
Parameters
- wellKnownValue
- DbGeographyWellKnownValue
An instance of DbGeographyWellKnownValue that contains the well-known representation of a geography value.
Returns
A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation.
Applies to
Entity Framework