コード例 #1
0
ファイル: PostgresConnection.cs プロジェクト: tkglaser/abnorm
        protected System.Data.Common.DbConnection getConnection()
        {
            DbConnection con = new PostgresClient.PostgresConnection(conString);

            con.Open();

            return(con);
        }
コード例 #2
0
ファイル: PostgresDBWrapper.cs プロジェクト: tkglaser/abnorm
 public PostgresCommand(Npgsql.NpgsqlCommand command, PostgresConnection con)
 {
     cmd      = command;
     this.con = con;
 }
コード例 #3
0
ファイル: PostgresDBWrapper.cs プロジェクト: tkglaser/abnorm
 public PostgresTransaction(Npgsql.NpgsqlTransaction trx, PostgresConnection con)
 {
     this.trx = trx;
     this.con = con;
 }