A marker interface so NHibernate can know if it is dealing with an object that is a Proxy.

Namespace:  NHibernate.Proxy
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Interface INHibernateProxy
C#
public interface INHibernateProxy
Visual C++
public interface class INHibernateProxy
JavaScript
NHibernate.Proxy.INHibernateProxy = function();
NHibernate.Proxy.INHibernateProxy.createInterface('NHibernate.Proxy.INHibernateProxy');

Remarks

This interface should not be implemented by anything other than the Dynamically generated Proxy. If it is implemented by a class then NHibernate will think that class is a Proxy and will not work.

It has to be public scope because the Proxies are created in a seperate DLL than NHibernate.

See Also