It shouldn't just stop working, have you changed anything else?
If not, can you show us your entities and how you're setting up the
automapper?

On Mon, Aug 3, 2009 at 7:24 PM, Paul <[email protected]> wrote:

>
> Hello, I updated Nhibernate and Fluent NH ...
> Changed auto map, like that:
>
>  public class ClassAMap : IAutoMappingOverride<ClassA>
>    {
>        public void Override(AutoMap<ClassA> __mapping)
>        {
>            __mapping.WithTable("`tblClassA`");
>
>            __mapping.Id(x => x.ID, "`ClassAID`")
>                .GeneratedBy.Identity();
>
>            __mapping.References(x => x.A, "`AID`").Cascade.None();
>            __mapping.References(x => x.B, "`BID`").Cascade.None();
>        }
>    }
>
>
> That was working fine, now I got :
> Association references unmapped class: ClassA
> [MappingException: Association references unmapped class: ClassA]
>
> NHibernate.Cfg.XmlHbmBinding.CollectionBinder.BindCollectionSecondPass
> (XmlNode node, Collection model, IDictionary`2 persistentClasses,
> IDictionary`2 inheritedMetas) +2903
>
>
> NHibernate.Cfg.XmlHbmBinding.<>c__DisplayClassd.<AddCollectionSecondPass>b__c
> (IDictionary`2 persistentClasses) +36
>   NHibernate.Cfg.Configuration.SecondPassCompile() +129
>   NHibernate.Cfg.Configuration.BuildSessionFactory() +23
>   FluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory() in d:
> \Builds\FluentNH\src\FluentNHibernate\Cfg\FluentConfiguration.cs:93
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to