So, I have a situation where I have a common base type, but I need to map another view based on the child type.
It looks like I can use a generic mapping class to handle inheritance
http://geekswithblogs.net/nharrison/archive/2010/07/09/inheriting-a-class-map-in-fluent-nhibernate.aspx
But how can I conditionally display another view based on a child type? I see the EntityType property, but it says that it is deprecated and will be closed in the next version.
As an example, I have the ContactInfo base class, standard between contact types, but the values come from different places depending on the type of contact, I will process this through the sql view.
source
share