DbProviderInfo Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Groups a pair of strings that identify a provider and server version together into a single object.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId="Db")]
public sealed class DbProviderInfopublic sealed class DbProviderInfotype DbProviderInfo = classPublic NotInheritable Class DbProviderInfo- Inheritance
- 
				DbProviderInfo
- Attributes
Remarks
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.
Constructors
| DbProviderInfo(String, String) | Creates a new object for a given provider invariant name and manifest token. | 
Properties
| 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. | 
Methods
| Equals(Object) | Determines whether the specified object is equal to the current object. | 
| GetHashCode() | Serves as the default hash function. |