Error!
Success!

Subclass and JoinedSubclass mapping in Fluent nHibernate 1.0 RC

0
kicks

Subclass and JoinedSubclass mapping in Fluent nHibernate 1.0 RC  (Unpublished)

With the release of Fluent nHibernate 1.0 RC (download here) there are some great changes to the mapping structure of Subclass and JoinedSubclass. This excerpt from the 1.0 RC release notes gives a highlight of what those changes are and what is expected of us: Separated subclass mapping - Subclasses can (and should be) defined separately from their parent mapping. Use SubclassMap<T> the same way as you would ClassMap<T>; if the top-most mapping (ClassMap) contains a DiscriminateSubclassesOnColumn call, the subclasses will be mapped as table-per-class-hierarchy, otherwise (by default) they'll be mapped as table-per-subclass.


Kicked By:
Drop Kicked By: