Feature #926
VersionedRecord's record key
Description
The name for this key should default to the table name + ID.
This means that a record class Author(VersionedRecord)
by default will have a record key authorID
. If the developer provides another table name (for instance 'writer'), then the record key should change accordingly (in this case: writerID
).
Associated revisions
History
#1 Updated by Elmer de Looff over 12 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 70
Applied in changeset 2f239384878f.
#2 Updated by Elmer de Looff over 12 years ago
- Status changed from Resolved to Closed
- % Done changed from 70 to 100
This is done.
Expanded test suite for the database model significantly. Changed behaviour of VersionedRecord's key such that the default is the local table name + ID. Defining _RECORD_KEY overrides this behavior (tests have been added to verify this). This resolves #926.