Ejemplo n.º 1
0
        protected System.Data.Common.DbConnection getConnection()
        {
            DbConnection con = new PostgresClient.PostgresConnection(conString);

            con.Open();

            return(con);
        }
Ejemplo n.º 2
0
 public PostgresCommand(Npgsql.NpgsqlCommand command, PostgresConnection con)
 {
     cmd      = command;
     this.con = con;
 }
Ejemplo n.º 3
0
 public PostgresTransaction(Npgsql.NpgsqlTransaction trx, PostgresConnection con)
 {
     this.trx = trx;
     this.con = con;
 }