How can I map to a private field with fluent NHibernate AutoPersistenceModel?
public class A
{
private List<B> myField;
public A()
{
myField = new List<B>();
}
public IList<B> MyBs
{
get { return myField; }
}
}
Is there a fieldconvention for the AutoPersistence model or do I have to use separate mappings for classes with fields?