Fluent NHibernate table-per-inheritance (TPH) mapping for multi class in the hierarchy #222

avolgin opened this Issue May 17, 2013 · 0 comments


None yet

1 participant

avolgin commented May 17, 2013

Hello everyone,

I'm struggling with one Fluent NHibernate issue. I have following template of class structure in the my solution:

class OneClass
public virtual string OneProp {get; set;}

class TwoClass : OneClass
public virtual string TwoProp {get; set;}

class ThreeClass : TwoClass
public virtual string ThreeProp {get; set;}

And I want to use table-per-inheritance hierarchy strategy for my classes for contains all data in one table in a database.

How it possible to do via Fluent NHibernate?

I have posted this question to StackOverflow too:

Volgin Alexey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment