PostgreSqlDataContext Class
.NET Standard 2.x
Represents the entry to the PostgreSql database.
Namespace: SnapObjects.Data.PostgreSql
Assembly: SnapObjects.Data.PostgreSql.dll
Syntax
public class PostgreSqlDataContext : DataContext
Constructors
| Name | 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. |