Hi friends!, First of all, i hope christmass day was good to everyone and i
wish a happy new year!

Well, i have a typical component class: Address.

My class Person has an instance of Address, but in Person mapping file,
address is mapped as component.

Now i have another class, Office. Office class also have an address, i would
like to make refence of Address class in Office class. So when in Office
class mapping i would also map Address as a component one.

I would to do that because in database,  fields referring address are not
normalized, that is, they are in Person table, and in Office table.

Is right do that i talked about ? Its possible to have one class - Address -
mapped as component in other classes ?

Thanks !



-- 
Paulo R. Quicoli

Editor Técnico - ClubeDelphi Magazine - DevMedia

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to