DbProviderServices.GetSpatialServices Method

 

Gets the spatial services for the DbProviderServices.

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

NameDescription
System_CAPS_pubmethodGetSpatialServices(DbProviderInfo)

Gets the spatial services for the DbProviderServices.

System_CAPS_pubmethodGetSpatialServices(String)

Obsolete.Gets the spatial services for the DbProviderServices.


DbProviderServices.GetSpatialServices Method (DbProviderInfo)

Gets the spatial services for the DbProviderServices.

public DbSpatialServices GetSpatialServices(
	DbProviderInfo key
)

Parameters

key
Type: System.Data.Entity.Infrastructure.DbProviderInfo

Information about the database that the spatial services will be used for.

Return Value

Type: System.Data.Entity.Spatial.DbSpatialServices

The spatial services.


DbProviderServices.GetSpatialServices Method (String)

Note: This API is now obsolete.

Gets the spatial services for the DbProviderServices.

[ObsoleteAttribute("Use GetSpatialServices(DbProviderInfo) or DbConfiguration to ensure the configured spatial services are used. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.")]
public DbSpatialServices GetSpatialServices(
	string manifestToken
)

Parameters

manifestToken
Type: System.String

The token information associated with the provider manifest.

Return Value

Type: System.Data.Entity.Spatial.DbSpatialServices

The spatial services.