SqlSpatialServices.GeographyFromProviderValue(Object) Method

Definition

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

public override System.Data.Entity.Spatial.DbGeography GeographyFromProviderValue (object providerValue);
override this.GeographyFromProviderValue : obj -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function GeographyFromProviderValue (providerValue As Object) As DbGeography

Parameters

providerValue
Object

A provider-specific value that this spatial services implementation is capable of interpreting as a geography value.

Returns

A new DbGeography value backed by this spatial services implementation and the specified provider value.

Applies to