DbSpatialServices.CreateProviderValue Method

 

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

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

NameDescription
System_CAPS_pubmethodCreateProviderValue(DbGeographyWellKnownValue)

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

System_CAPS_pubmethodCreateProviderValue(DbGeometryWellKnownValue)

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


DbSpatialServices.CreateProviderValue Method (DbGeographyWellKnownValue)

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

public abstract object CreateProviderValue(
	DbGeographyWellKnownValue wellKnownValue
)

Parameters

wellKnownValue
Type: System.Data.Entity.Spatial.DbGeographyWellKnownValue

An instance of DbGeographyWellKnownValue that contains the well-known representation of a geography 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.


DbSpatialServices.CreateProviderValue Method (DbGeometryWellKnownValue)

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

public abstract object CreateProviderValue(
	DbGeometryWellKnownValue wellKnownValue
)

Parameters

wellKnownValue
Type: System.Data.Entity.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.