Add a proxy to the session cache

Namespace: NHibernate.Engine
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
void AddProxy(
	EntityKey key,
	INHibernateProxy proxy
)
Visual Basic
Sub AddProxy ( _
	key As EntityKey, _
	proxy As INHibernateProxy _
)
Visual C++
void AddProxy(
	EntityKey^ key, 
	INHibernateProxy^ proxy
)

Parameters

key
Type: NHibernate.Engine..::..EntityKey

[Missing <param name="key"/> documentation for "M:NHibernate.Engine.IPersistenceContext.AddProxy(NHibernate.Engine.EntityKey,NHibernate.Proxy.INHibernateProxy)"]

proxy
Type: NHibernate.Proxy..::..INHibernateProxy

[Missing <param name="proxy"/> documentation for "M:NHibernate.Engine.IPersistenceContext.AddProxy(NHibernate.Engine.EntityKey,NHibernate.Proxy.INHibernateProxy)"]

See Also