'gncentry' table mis-named

Derek Atkins warlord@MIT.EDU
04 Mar 2002 14:50:39 -0500

linas@linas.org (Linas Vepstas) writes:

> I would strongly encourage adding a name-mapping between the 
> c-object name and the sql-table name.  I'm not sure how general your
> mechanism is, but if you have any hope of getting more general than what
> gnucash needs, having this kind of mapping would be a must-have feature.

As I've been implementing the XML bindings, I realized that yes, you
could make the SQL bindings take a table-name.  So, yes, this would
work.  In fact, I wound up doing something like this for the XML
extensions, to define the XML tag for each object.

The way I've architected the backend-extensions, each backend defines
it's own extension structure.  Therefore, each backend can require
whatever data and methods is needs.  This also means that I didn't
have to make any assumption about a generic backend extension.

> --linas


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available