Subclass and JoinedSubclass mapping in Fluent nHibernate 1.0 RC (ang3lfir3.wordpress.com)
submitted by
ang3lfir3(640) 5 months, 23 days ago
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.
|
category: Database
|
Views: 54
tags:
Database another
Everyones tags:
Your Tags: