SqlSpatialServices.GeometryFromProviderValue(Object) Method

Definition

Creates a new DbGeometry value based on a provider-specific value that is compatible with this spatial services implementation.

public override System.Data.Entity.Spatial.DbGeometry GeometryFromProviderValue (object providerValue);
override this.GeometryFromProviderValue : obj -> System.Data.Entity.Spatial.DbGeometry
Public Overrides 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.

Applies to