I write plugins that they themselves control their mapping into the database. Connection is solved easily, entities are saved, everything works as it should.
The question is simple - how to make plug-ins disconnected, if the data created in the database is ignored?
Now when accessing an entity for which the mapping is not loaded, the error falls:
NHibernate. persister, Object id, ISessionImplementor session)
And I would be more satisfied if he reacted as if the record was not at all in the database.
In addition to the above - a map in one tablet, all implementations of a specific interface, i.e. Table Per Class Hierarchy. As long as the calls are typed (specific class) or by id
- everything is OK, when the entire label on the interface is simply requested - it falls on the non-merged ones.