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#
Object ProxyFor(
	Object impl
)
Visual Basic
Function ProxyFor ( _
	impl As Object _
) As Object
Visual C++
Object^ ProxyFor(
	Object^ impl
)

Parameters

impl
Type: System..::..Object

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

Return Value

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

See Also