I am adding a new feature to legacy code (i.e. I can't make large changes to old tables, especially no primary key changes). I am adding a Set of 'NewAttribute' items to several non-associated legacy classes which are represented in separate tables. I want these 'NewAttribute' items to live in a single database table and have an Owner attribute which maps back to the owning class. I'm not sure how to map this. I see that there is an <ANY> keyword, but after reading everything I can about his keyword, I am still unclear how this gets represented in the database.
Can anyone point me to an example which might help?
Ilane
|