Added some basic support for holding database relationship information
Authored by: Calmera 2008-06-19
Parent: [r95]
Child: [r97]