ultimatepp/reference/SQL_PostgreSql/Postgres.h
mdelfede d2b54f7989 changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-06-07 22:31:27 +00:00

28 lines
622 B
C++

#ifndef _Postgres_Postgres_h
#define _Postgres_Postgres_h
#include <CtrlLib/CtrlLib.h>
#include <SqlCtrl/SqlCtrl.h>
using namespace Upp;
#define LAYOUTFILE <SQL_PostgreSql/Postgres.lay>
#include <CtrlCore/lay.h>
#include <PostgreSQL/PostgreSQL.h>
#define SCHEMADIALECT <PostgreSQL/PostgreSQLSchema.h>
#define MODEL <SQL_PostgreSql/database.sch>
#include "Sql/sch_header.h"
class PostgreSQLTest : public WithPostgreSQLTestLayout<TopWindow> {
public:
typedef PostgreSQLTest CLASSNAME;
PostgreSQLTest();
bool OpenDB();
bool InsertTestData();
void ShowTestData();
protected:
PostgreSQLSession m_session;
};
#endif