我已经在NHibernate论坛上问过这个问题,但我认为这是一个更普遍的问题。NHibernate使用代理生成器(例如Castle)来创建它的代理。//object AC is a concrete class
//object AP is a proxy with the SAME id and therefore represents the same instance as
对于延迟加载,我使用了使用: NHibernate.ByteCode.Linfu的LinFu实现。NHibernate.ByteCode.LinFu.ProxyFactory..cctor() +0 at NHibernate.ByteCode.LinFu.ProxyFactory..ctor() at NHibernat