Hmm, good question!

I think the inverse of ParentItem would be ChildLinks & Item would be
ParentLinks

Kevin


On Sep 1, 10:27 pm, Fabio Maulo <[email protected]> wrote:
> which are the inverse of
>        public virtual Item ParentItem { get; set; }
>        public virtual Item Item { get; set; }
> ?
>
> On Wed, Sep 1, 2010 at 12:58 PM, Kevin Fairclough <
>
>
>
> [email protected]> wrote:
> > public class Item : Entity
> > {
> >        public virtual bool Prop1 { get; set; }
> >        public virtual bool Prop2 { get; set; }
> >        public virtual int Prop3 { get; set; }
> >        public virtual int Prop4 { get; set; }
> >        public virtual string Prop5 { get; set; }
> >        public virtual string Prop6 { get; set; }
>
> >        public virtual IList<ItemLink> Children { get; set; }
> >        public virtual IList<ItemLink> Parents { get; set; }
> > }
>
> > public class ItemLink : Entity
> > {
> >        public virtual Item ParentItem { get; set; }
> >        public virtual Item Item { get; set; }
>
> >        public virtual bool Prop1 { get; set; }
> >        public virtual bool Prop2 { get; set; }
> >        public virtual int Prop3 { get; set; }
> >        public virtual int Prop4 { get; set; }
> >        public virtual string Prop5 { get; set; }
> >        public virtual string Prop6 { get; set; }
> > }
>
> > --
> > 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]<nhusers%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/nhusers?hl=en.
>
> --
> 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