SqlSpatialServices.GeometryFromProviderValue Method (Object)

 

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

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

public override 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.Entity.Spatial.DbGeometry

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