How do I map properties as many to many using the new mapping by code?
Let's say I have the following domain:
public class Class {
public virtual string Name { get; set; }
public virtual ISet<Student> Students { get; set; }
public Class() {
Students = new HashedSet<Student>();
}
}
public class Student {
public virtual string Name { get; set; }
public virtual ISet<Class> Classes { get; set; }
public Student() {
Classes = new HashedSet<Class>();
}
}
the IsManyToMany delegate on ConventionModelMapper never seems to be
invoked. Am I missing something?
Cheers!
--
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.