DbSpatialServices.GeometryFromProviderValue Method (Object)

.NET Framework (current version)
 

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

Namespace:   System.Data.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract DbGeometry GeometryFromProviderValue(
	object providerValue
)

Parameters

providerValue
Type: System.Object

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

Return Value

Type: System.Data.Spatial.DbGeometry

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

Exception Condition
ArgumentNullException

providerValue

ArgumentException

providerValue

.NET Framework
Available since 4.5
Return to top
Show: