예제 #1
0
        protected System.Data.Common.DbConnection getConnection()
        {
            DbConnection con = new PostgresClient.PostgresConnection(conString);

            con.Open();

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