NHibernate Many-To-One on Joined Sublcass with Filter
- by Nathan Roe
I have a class setup that looks something like this:
public abstract class Parent
{
public virtual bool IsDeleted { get; set; }
}
public class Child : Parent
{
}
public class Other
{
public virtual ICollection<Child> Children { get; set; }
}
Child is mapped as a joined-subclass of Parent.
Childen is mapped as a Many-To-One bag.…