|
OpenPetra
Free Administration Software for Non-Profits
|
This holds the tables and the sequences of the database structure; this is an objectorientated representation in memory of the database structure that was originally defined in XML More...
Public Member Functions | |
| TDataDefinitionStore () | |
| constructor More... | |
| void | Clear () |
| clear all tables and sequences More... | |
| TTable | GetTable (string tableName) |
| get a specific table by name More... | |
| List< TTable > | GetTables () |
| get the tables More... | |
| void | AddTable (TTable table) |
| add a table More... | |
| List< TSequence > | GetSequences () |
| get the sequences More... | |
| void | AddSequence (TSequence sequence) |
| add a sequence More... | |
| void | PrepareLinks () |
| void | PrepareAutoGeneratedFields () |
| Prepare the fields that are auto generated (eg. createdby, lastmodified) More... | |
This holds the tables and the sequences of the database structure; this is an objectorientated representation in memory of the database structure that was originally defined in XML
|
inline |
constructor
|
inline |
add a sequence
| sequence |
|
inline |
add a table
| table |
|
inline |
clear all tables and sequences
|
inline |
get the sequences
|
inline |
get a specific table by name
| tableName | the name of the table |
|
inline |
get the tables
|
inline |
Prepare the fields that are auto generated (eg. createdby, lastmodified)
|
inline |
set all the references between the tables (table should know which tables reference them)