DbSpatialServices.GeometryFromProviderValue(Object) 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.
Creates a new DbGeometry value based on a provider-specific value that is compatible with this spatial services implementation.
public abstract System.Data.Entity.Spatial.DbGeometry GeometryFromProviderValue (object providerValue);
abstract member GeometryFromProviderValue : obj -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function GeometryFromProviderValue (providerValue As Object) As DbGeometry
Parameters
- providerValue
- Object
A provider-specific value that this spatial services implementation is capable of interpreting as a geometry value.
Returns
A new DbGeometry value backed by this spatial services implementation and the specified provider value.
Exceptions
providerValue
is null.
providerValue
is not compatible with this spatial services implementation.
Applies to
Entity Framework