Used to parse a connection string or connection string name into a the base connection string and dbProvider.
If a connection string is passed that's just used. If a ConnectionString entry name is passed the connection string is extracted and the provider parsed.
Westwind.Utilities.Data.ConnectionStringInfo
public class ConnectionStringInfo : object
Class Members
Member | Description | |
---|---|---|
Constructor |
||
DefaultProviderName |
The default connection string provider | |
GetConnectionStringInfo |
Figures out the Provider and ConnectionString from either a connection string name in a config file or full ConnectionString and provider. public static ConnectionStringInfo GetConnectionStringInfo(string connectionString, string providerName) |
|
ConnectionString |
The connection string parsed | |
Provider |
The DbProviderFactory parsed from the connection string or default provider |
Requirements
Namespace: Westwind.Utilities.DataAssembly: westwind.utilities.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic