DAL cleanup, double refactoring.
commitf8d2f8138a9be6ef2dfcd89a61e2a759e669f71d
authorSverre Rabbelier <sverre@rabbelier.nl>
Mon, 31 Mar 2008 15:47:57 +0000 (31 17:47 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Mon, 31 Mar 2008 15:47:57 +0000 (31 17:47 +0200)
treeb70ad1d08e46bd5761e39445459efe2dd52ce019
parent232d6f54b69776c4cd2d983bd46f01ad6aadba98
DAL cleanup, double refactoring.

* Cleaned up the TableDef/TableImpl relation, TableImpl does not need TableDef post generation.
* Remove the special 'primary keys' stuff in TableDef and TableImpl, just make them part of fields.
As a result of the above:
* Determine isSingularPrimaryKey by counting the numer of primary keys.
14 files changed:
src/DAL/FieldDef.cpp
src/DAL/FieldDef.h
src/DAL/FieldImpl.h
src/DAL/KeyDef.h
src/DAL/KeyImpl.h
src/DAL/Keys.cpp
src/DAL/SavableManager.cpp
src/DAL/SavableManagers.cpp
src/DAL/SelectionMask.cpp
src/DAL/SqliteMgr.cpp
src/DAL/TableDef.cpp
src/DAL/TableDef.h
src/DAL/TableImpl.cpp
src/DAL/TableImpl.h