Table Per Class Hierarchy Inheritance Mapping with Fluent nHibernate (ang3lfir3.wordpress.com)
submitted by
ang3lfir3(640) 6 months, 5 days ago
This is the second in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be.
The three types of Inheritance mappings that are mentioned on page 92 of NHibernate in Action are :Model
* Table Per Concrete Class
* Table Per Class Hierarchy
* Table Per Subclass
I will be using the example from NHibernate in Action to illustrate the mappings. This post covers the Table Per Class Hierarchy example.
|
category: Patterns
|
Views: 100
tags:
NHIbernate Mapping Fluent C# Patterns another
Everyones tags:
Your Tags: