
This directory gives a very basic example of linking
QOF objects to the contents of an SQL database. This
automates the writing out of the contents of a QOF object
to a database, and the reading of the database into an object.

The biggest problem with this example is that it shows
a very low-level usage, which means that its overly complex, 
and perhaps difficult to understand. The (unfinished) qof
prototype (in a different example directory) should provide
a much simpler, easier-to-use interface.

This demonstration consists of five files:

my-entity.sql -- defines the SQL table.
my-entity.h   -- defines the C struct (the object)
my-entity.dui -- the linkage between the SQL table and the C struct
my-entity.c   -- The object setters and getters and infrastructure
my-app.c      -- the application main loop.

First, read the contents of my-entity.sql. This shows a 
protypical SQL table.

Next, read my-entity.h. This defines the C structure that
is the object that will be sync'ed to the SQL table.

Next, read my-entity.dui. This shows the linkage between 
the SQL table and the C object.  It shows four different ways
of hooking up an object to the database.

The my-entity.c file contains the defnition of the object.
It most consists of setters and getters, and the basic
mechanisms for registering the object with the QOF framework.

The my-app.c files contains the application main loop.
