I'm new to NHibernate and Fluent NHibernate. I'm wondering how to properly use Fluent NHibernate with the "table per subclass" mapping strategy.
This is an example of what I'm after. More specifically though, I need a way to break the subclass mappings into separate files.
Also, when adding records, I need NHibernate to first insert into the parent, then into the child. Below is a simplified prototype of my database. Personnel, Images, and Projects should all inherit from Entities. Entities is responsible for generating the primary key. PersonnelId, ImageId, and ProjectId all have foreign keys referencing EntityId.
Hope that makes sense, thanks in advance.