DbProviderInfo Class
Groups a pair of strings that identify a provider and server version together into a single object.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | DbProviderInfo(String, String) | Creates a new object for a given provider invariant name and manifest token. |
Name | Description | |
---|---|---|
![]() | ProviderInvariantName | A string that identifies that provider. For example, the SQL Server provider uses the string "System.Data.SqlCient". |
![]() | ProviderManifestToken | A string that identifies that version of the database server being used. For example, the SQL Server provider uses the string "2008" for SQL Server 2008. This cannot be null but may be empty. |
Name | Description | |
---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to this current object.(Overrides Object.Equals(Object).) |
![]() | GetHashCode() | Gets the hash function of this current object.(Overrides Object.GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Instances of this class act as the key for resolving a DbSpatialServices for a specific provider from a IDbDependencyResolver. This is typically used when registering spatial services in DbConfiguration or when the spatial services specific to a provider is resolved by an implementation of DbProviderServices.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.