Share via


DbSpatialServices.CreateProviderValue Method

Definition

Overloads

CreateProviderValue(DbGeometryWellKnownValue)

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

CreateProviderValue(DbGeographyWellKnownValue)

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

CreateProviderValue(DbGeometryWellKnownValue)

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

public abstract object CreateProviderValue (System.Data.Entity.Spatial.DbGeometryWellKnownValue wellKnownValue);
abstract member CreateProviderValue : System.Data.Entity.Spatial.DbGeometryWellKnownValue -> obj
Public MustOverride Function CreateProviderValue (wellKnownValue As DbGeometryWellKnownValue) As Object

Parameters

wellKnownValue
DbGeometryWellKnownValue

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

Returns

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

Applies to

CreateProviderValue(DbGeographyWellKnownValue)

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

public abstract object CreateProviderValue (System.Data.Entity.Spatial.DbGeographyWellKnownValue wellKnownValue);
abstract member CreateProviderValue : System.Data.Entity.Spatial.DbGeographyWellKnownValue -> obj
Public MustOverride Function CreateProviderValue (wellKnownValue As DbGeographyWellKnownValue) As Object

Parameters

wellKnownValue
DbGeographyWellKnownValue

An instance of DbGeographyWellKnownValue that contains the well-known representation of a geography value.

Returns

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

Applies to