Database
cppdb.txt
Associated article: Relational C++ Objects
Tags: Database
Source code accompanying the article by Eric Kass in which he presents a database system that builds on C++ by adding a set of object classes that provide an object-oriented modeling environment which stores data inside industry-standard relational database systems. This system overcomes the inherent problem of mapping a hierarchical object schema to flat storage. Also see CPPDB.ZIP.
_Relational C++ Objects_
by Eric Kass
Example 1:
DBObject* GetFirst(char *SQLFrom, char *SQLWhere=NULL);
DBObject* GetFirst(CLASSID ClassID, char *SQLWhere=NULL);
DBObject* GetNext();
Example 2:
AddObject(DBObject *Object
RemoveObject(DBObject *Object)
GetFirst()
GetNext()
Listing One
class PersonInterface : public DBInterface
{
char Name[50];
...


