Table of Contents

Class PostgreSqlConAdapter

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

Connection string adapter for PostgreSQL databases.

public class PostgreSqlConAdapter : DbConAdapter
Inheritance
PostgreSqlConAdapter
Inherited Members
Extension Methods

Properties

PropDefs

Gets the connection property definitions supported by PostgreSQL.

public override DbConPropDef[] PropDefs { get; }

Property Value

DbConPropDef[]

ServerType

Gets the database server type handled by this adapter.

public override DbServerType ServerType { get; }

Property Value

DbServerType

Methods

WriteServer(List<string>, List<DbConProp>)

Writes the server value using the PostgreSQL Host key.

protected override void WriteServer(List<string> Parts, List<DbConProp> Props)

Parameters

Parts List<string>
Props List<DbConProp>

WriteSslMode(List<string>, List<DbConProp>)

Writes the SSL mode setting.

protected override void WriteSslMode(List<string> Parts, List<DbConProp> Props)

Parameters

Parts List<string>
Props List<DbConProp>

WriteTrustServerCertificate(List<string>, List<DbConProp>)

Writes the trust server certificate setting.

protected override void WriteTrustServerCertificate(List<string> Parts, List<DbConProp> Props)

Parameters

Parts List<string>
Props List<DbConProp>

WriteUserId(List<string>, List<DbConProp>)

Writes the user id value using the PostgreSQL Username key.

protected override void WriteUserId(List<string> Parts, List<DbConProp> Props)

Parameters

Parts List<string>
Props List<DbConProp>