Hi Fabio, On Thu, Sep 30, 2010 at 7:58 PM, Fabio Maulo <[email protected]> wrote: > Continue from other forum.
Yes. I thought it could be helpful to post the same request on the international mailing list as well. > Mappings only classes. I see. Is this enouhg to handle polymorphic queries? > The problem is not Office but the fact that you want IHasPhoneNumbers > and IHasCallList as root entities (without ID) as part of the same hierarchy > (there isn't a hierarchy IHasPhoneNumbers and IHasCallList) and the fact > that then the class Employee should be part of the same hierarchy. Uhm... for both interface I set some Int32 properties which were intended to be an ID. Sorry for having forgotten to specify. :-) > Now my questions: > Can you describe the representation of your domain in tables and columns ? > Can you then describe how should look SQLs to upload one Office and then one > Employee ? My answer is: NO. I *know* the Object Oriented model. I *need* to know a suitable relational model and how to create it an map it using NHibernate. > When we will have the answers we can copy to the other forum too. Of course. Remind me about that: I'm pretty sure I'll forget! Regards, Giulio -- -- 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.
