Is there a way to add criteria to a mapping for NHibernate?
public class Course { public IList Participants { get; set; } public IList&l
You dont need a subquery to load a collection with additional condition.
HasMany(x => x.ActiveParticipants).Where("Status = 'Active'");