Class SqlDbConnectionOptions
This configuration class defines an array of database SqlConnectionConfiguration.
Note that the SecurityKey must match a defined key in the DataSecurityOptions; likewise, a ResilienceKey (if defined) must match a key in the DataResilienceOptions array.
"SqlDbConnections": [
{
"DatabaseKey": "MyDatabase",
"DataConnection": {
"UserName": "webUser",
"Password": "pwd1234",
"DataSource": "localhost",
"InitialCatalog": "MyDb"
}
}
]
Inheritance
System.Object
SqlDbConnectionOptions
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ArgentSea.Sql
Assembly: ArgentSea.Sql.dll
Syntax
public class SqlDbConnectionOptions : IDatabaseConfigurationOptions
Properties
| Improve this Doc View SourceDbConnectionsInternal
Declaration
public IDatabaseConnectionConfiguration[] DbConnectionsInternal { get; }
Property Value
Type | Description |
---|---|
IDatabaseConnectionConfiguration[] |
SqlDbConnections
Declaration
public SqlDbConnectionConfiguration[] SqlDbConnections { get; set; }
Property Value
Type | Description |
---|---|
SqlDbConnectionConfiguration[] |