Return the existing proxy associated with the given EntityKey, or the argument (the entity associated with the key) if no proxy exists. (slower than the form above)

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

Syntax

C#
public Object ProxyFor(
	Object impl
)
Visual Basic
Public Function ProxyFor ( _
	impl As Object _
) As Object
Visual C++
public:
virtual Object^ ProxyFor(
	Object^ impl
) sealed

Parameters

impl
Type: System..::..Object

[Missing <param name="impl"/> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.ProxyFor(System.Object)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.ProxyFor(System.Object)"]

Implements

IPersistenceContext..::..ProxyFor(Object)

See Also