All:

I have a new database (read only) that I need to model and sync data from on a 
daily basis. Since this is its primary purpose, there are fields in every table 
that are versioning metadata about each row - whether it represents an initial 
insert or an update, the dates of updates, etc.

Since there are 5 or 6 fields that are the same in every single table, I was 
trying to think of ways I could handle it without adding them to every entity 
in my model. Of course, it is true, once they are modeled once it isn’t that 
hard to copy/paste - so this is more a curiosity to me. And I’m sure someone 
has considered this before.

Inheritance doesn’t seem to be a good fit in the traditional sense. Would it be 
a workable approach to modify the model at runtime to have every entity in the 
model have these attributes?

Tim
UCLA GSE&IS
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to