ConnectionProvider Class
Assembly: CodeEffects.Rule.Connection.Postgres.dll
Namespace: CodeEffects.Rule.Connection.Postgres
Summary
The ready-made IConnectionProvider for PostgreSQL: it creates a NpgsqlConnection for a connection string. The DbProvider of this namespace creates one for you, so you use this class directly only in a provider of your own.
Syntax
public class ConnectionProvider : IConnectionProvider
Every call returns a new, unopened connection; the libraries open and dispose it. The class is safe to call from several threads. The connection comes from Npgsql.
Constructors
Properties
Methods