After updating to the HEAD of master I still had the problem.
This seems to have fixed it though:
References(Reveal.Property<CustomMessage,
ProviderOrganization>("ProviderOrganization"),
"ProviderOrganizationId");
I had to explicitly specify the return type of the property being
revealed. What are the conditions under which one must specify the
return type? I see the tests do both, but its not clear why.
On Aug 20, 2009, at 3:45 AM, James Gregory wrote:
> Our reveal tests would suggest otherwise.
>
> Export your mappings, see what it's producing.
>
> On Thu, Aug 20, 2009 at 5:34 AM, Brendan Erwin <[email protected]
> > wrote:
>
> If I have this in my map:
>
>
> References(Reveal.Property<CustomMessage>("ProviderOrganization"),
> "ProviderOrganizationId");
>
> I get this error:
>
> NHibernate.MappingException: An association from the table
> KioskMessage refers to an unmapped class: System.Object
>
> If I comment it out then the mappings "compile" correctly (and I get a
> new error, but I don't think its related).
>
> Any thoughts?
>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---