How can I eager-load a child collection mapped to a non-primary key in NHibernate 2.1.2?
- by David Rubin
Hi,
I have two objects with a many-to-many relationship between them, as follows:
public class LeftHandSide
{
public LeftHandSide()
{
Name = String.Empty;
Rights = new HashSet<RightHandSide>();
}
public int Id { get; set; }
public string Name { get; set; }
public ICollection<RightHandSide>…