PostgreSqlDataContext.PostgreSqlDataContext Constructor
.NET Standard 2.x
Initializes a new instance of the PostgreSqlDataContext class.
Namespace: SnapObjects.Data.PostgreSql
Assembly: SnapObjects.Data.PostgreSql.dll
Overloads
| Constructor | Description |
|---|---|
| PostgreSqlDataContext(IDataContextOptions dataContextOptions) | Initializes a new instance of the PostgreSqlDataContext class by passing the PostgreSqlDataContextOptions type object as a parameter. |
| PostgreSqlDataContext(NpgsqlConnection dbConnection) | Initializes a new instance of the PostgreSqlDataContext class by passing the NpgsqlConnection type object as a parameter. |