R – Is it possible to use private field conventions for Fluent NHibernate Automapping

automappingfluent-nhibernatenhibernatenhibernate-mapping

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?

Best Answer

The answer:

It's not possible yet. Maybe I should submit a patch for it...