I am using Fluent NHibernate to map out an existing database. For this reason - automapping isn't an option for me.
How do I tell NHibernate not to map certain properties? Many of them are read-only, and the others do not need to be persisted for other reasons.
I am writing this in VB.Net.
I get the typical error message: "The following types may not be used as proxies ... should be 'public/protected virtual' or 'protected internal virtual'"
I have purposely not made my objects Overridable (equivalent to virtual in C#) because I do not want NHibernate to touch them.
How can I achieve this?