public SQLServerDescriptor ( |
||
config | Config to get params from. | |
component | string | Section of the config XML to look in for db params. |
decryptionDelegate | ConnectionInfoDecryptionDelegate | Delegate to call to decrypt password fields. /// May be null if passwords are in plain text. |
return | System |
public SQLServerDescriptor(Config config, string component,
ConnectionInfoDecryptionDelegate decryptionDelegate)
: this(config.GetParameter(component, "Server", null),
config.GetParameter(component, "Database", null),
config.GetParameter(component, "User", null),
GetDecryptedConfigParameter(config, component, "Password", decryptionDelegate))
{
}
SQLServerDescriptor::SQLServerDescriptor ( string server, string database, string user, string password ) : System |