Yup. Nothing is off-limits. It's a new app and new DB schema.

On Jul 14, 8:12 pm, Fabio Maulo <[email protected]> wrote:
> I mean if you can modify the "persistent representation"of the classes ?Can
> you modify the DB ?
>
> 2009/7/14 Brian <[email protected]>
>
>
>
>
>
> > Meaning can I modify these classes? If so, then I am.
>
> > On Jul 14, 8:08 pm, Fabio Maulo <[email protected]> wrote:
> > > Who is the owner of the persistent representation of that domain ?
>
> > > 2009/7/14 Brian <[email protected]>
>
> > > > Hello,
>
> > > > I'm struggling with the appropriate way to map a relationship. My
> > > > domain model is as follows:
>
> > > > Review
> > > >   - IReviewable ReviewedItem
>
> > > > Book : IReviewable
> > > >   - Set Reviews
> > > > User :IReviewable
> > > >  - Set Reviews
>
> > > > I can't figure out the appropriate way to map this such there is a
> > > > single table to store all Reviews and a different table for Book and
> > > > User. My thought was that Review needed an <any> mapping for
> > > > ReviewedItem and the Book and User classes would need a <one-to-many>.
> > > > However the <one-to-many> doesn't work. <many-to-any> is incorrect
> > > > because the reviews aren't sharable between books and users.
>
> > > > Any thoughts?
>
> > > --
> > > Fabio Maulo
>
> --
> Fabio Maulo
--~--~---------~--~----~------------~-------~--~----~
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