Show / Hide Table of Contents

    Class PgDbConnectionOptions

    This configuration class defines an array of database PgConnectionConfiguration. For example, you might configure your appsettings.json like this:

    "PgDbConnections": [
      {
        "DatabaseKey": "MyDatabase",
          "DataConnection": {
            "UserName": "webUser",
            "Password": "pwd1234",
            "Host": "localhost",
            "Database": "MyDb"
        }
      }
    ]

    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.

    Inheritance
    System.Object
    PgDbConnectionOptions
    Implements
    IDatabaseConfigurationOptions
    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 Source

    DbConnectionsInternal

    Declaration
    public IDatabaseConnectionConfiguration[] DbConnectionsInternal { get; }
    Property Value
    Type Description
    IDatabaseConnectionConfiguration[]
    | Improve this Doc View Source

    PgDbConnections

    Declaration
    public PgDbConnectionConfiguration[] PgDbConnections { get; set; }
    Property Value
    Type Description
    PgDbConnectionConfiguration[]

    Implements

    IDatabaseConfigurationOptions
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX