Class PgDbConnectionOptions
This configuration class defines an array of database PgConnectionConfiguration.
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.
"PgDbConnections": [
{
"DatabaseKey": "MyDatabase",
"DataConnection": {
"UserName": "webUser",
"Password": "pwd1234",
"Host": "localhost",
"Database": "MyDb"
}
}
]
Inheritance
System.Object
PgDbConnectionOptions
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.Pg
Assembly: ArgentSea.Pg.dll
Syntax
public class PgDbConnectionOptions : IDatabaseConfigurationOptions
Properties
| Improve this Doc View SourceDbConnectionsInternal
Declaration
public IDatabaseConnectionConfiguration[] DbConnectionsInternal { get; }
Property Value
Type | Description |
---|---|
IDatabaseConnectionConfiguration[] |
PgDbConnections
Declaration
public PgDbConnectionConfiguration[] PgDbConnections { get; set; }
Property Value
Type | Description |
---|---|
PgDbConnectionConfiguration[] |