Domain Object:
class A
{
public virtual ISet<B> ChildCollection { get; set; }
}
Whenever I load an instance of A, I would like to load every child B.
Table A and Table B are not related in the database. There are only a
few records in Table B, and they need to be avaialable to every
instance of A for utility purposes.
It appears that if I want to use a <set>, I have to specify a <key>.
Is there anotherway to map a <set> without having to specify the <key>?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---