views:

26

answers:

1

How to map a class that has another class nested inside it. I am using automapping. It gives exception 'NHibernate.MappingException: Association references unmapped class: class1+class2'

suppose you have

public class baseclass
{

} 

public class class1 : baseclass
{

  public class class2 : baseclass
  {

  }
} 
A: 

This issues is fixed the repo. You may view this post on fluent support page..

http://support.fluentnhibernate.org/discussions/help/288-map-a-class-that-has-another-class-nested-inside-using-automapping

GlanT

related questions