DbProviderInfo(String, String) Constructor

Definition

Creates a new object for a given provider invariant name and manifest token.

public DbProviderInfo (string providerInvariantName, string providerManifestToken);
new System.Data.Entity.Infrastructure.DbProviderInfo : string * string -> System.Data.Entity.Infrastructure.DbProviderInfo
Public Sub New (providerInvariantName As String, providerManifestToken As String)

Parameters

providerInvariantName
String

A string that identifies that provider. For example, the SQL Server provider uses the string "System.Data.SqlCient".

providerManifestToken
String

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. The manifest token is sometimes referred to as a version hint.

Applies to