DbSpatialServices.CreateProviderValue Method (DbGeometryWellKnownValue)

.NET Framework (current version)
 

Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeometry representation.

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

public abstract object CreateProviderValue(
	DbGeometryWellKnownValue wellKnownValue
)

Parameters

wellKnownValue
Type: System.Data.Spatial.DbGeometryWellKnownValue

An instance of DbGeometryWellKnownValue that contains the well-known representation of a geometry value.

Return Value

Type: System.Object

A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation.

Exception Condition
ArgumentNullException

wellKnownValue

.NET Framework
Available since 4.5
Return to top
Show: