Adjust the model wrappers
|Category:||-||Estimated time:||1.00 h|
|Target version:||Repertoire 2) Testing phase II|
- Pass the object, not the id (i see no reason for that)
- Put all general functions, which are the same for each model, into the base class Tdb (e.g. search, search_by_id, search_by_oid, etc).
- Think about the special functions: if too special and only needed in one place, a search(DOMAIN) in the calling method could make more sense to keep the models thin.