Ok, recreated it and will raise a JIRA. However, it's a bit of an
"edge"case (but unfortunately fundamental to our application stack) so
before I do, any comments appreciated...
To get it to fail I have the following:
public interface IEntity (containing the ID)
public interface IDomain : IEntity
proxies are generated from these interfaces
public class abstract Entity : IEntity { .. contains ID field }
public class Domain : Entity, IDomain { }
With the above structure, the session.Load will fail on access to the
ID (which belongs to the base Entity class, not the Domain class).
It's not a normal structure, but fairly common I think? A base class
containing common entity logic etc....
--
You received this message because you are subscribed to the Google Groups
"nhusers" 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/nhusers?hl=en.