DbProviderServices.GetSpatialServices Method
Gets the spatial services for the DbProviderServices.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | GetSpatialServices(DbProviderInfo) | Gets the spatial services for the DbProviderServices. |
![]() | GetSpatialServices(String) | Obsolete.Gets the spatial services for the DbProviderServices. |
DbProviderServices.GetSpatialServices Method (DbProviderInfo)
Gets the spatial services for the DbProviderServices.
Parameters
- key
-
Type:
System.Data.Entity.Infrastructure.DbProviderInfo
Information about the database that the spatial services will be used for.
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.