Hi All,,
By changing the contact reference I get the following error: collection
Subs was not processed by flush() An AssertionFailure occurred - this may
indicate a bug in NHibernate or in your custom types.(nhprof).
Class Company : Entity
{
public virtual Employee Contact { get; set; }
}
Class Employee : Entity
{
public virtual IList<Bogus> Subs { get; set; }
}
The mapping file:
<many-to-one cascade="none" class="Employee , xxx, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null" lazy="proxy" name="Contact">
<column name="ContactPersoon_id" />
</many-to-one>
your help would be greatly appreciated!
Bart
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/nhusers/-/CmTvoKIl0WsJ.
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/nhusers?hl=en.