modeling question
modeling question
- Subject: modeling question
- From: T Worman <email@hidden>
- Date: Thu, 21 Apr 2016 16:49:13 -0700
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden