Return the existing proxy associated with the given EntityKey, or the
third argument (the entity associated with the key) if no proxy exists. Init
the proxy to the target implementation, if necessary.
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
Object ProxyFor( IEntityPersister persister, EntityKey key, Object impl ) |
Visual Basic |
---|
Function ProxyFor ( _ persister As IEntityPersister, _ key As EntityKey, _ impl As Object _ ) As Object |
Visual C++ |
---|
Object^ ProxyFor( IEntityPersister^ persister, EntityKey^ key, Object^ impl ) |
Parameters
- persister
- Type: NHibernate.Persister.Entity..::..IEntityPersister
[Missing <param name="persister"/> documentation for "M:NHibernate.Engine.IPersistenceContext.ProxyFor(NHibernate.Persister.Entity.IEntityPersister,NHibernate.Engine.EntityKey,System.Object)"]
- key
- Type: NHibernate.Engine..::..EntityKey
[Missing <param name="key"/> documentation for "M:NHibernate.Engine.IPersistenceContext.ProxyFor(NHibernate.Persister.Entity.IEntityPersister,NHibernate.Engine.EntityKey,System.Object)"]
- impl
- Type: System..::..Object
[Missing <param name="impl"/> documentation for "M:NHibernate.Engine.IPersistenceContext.ProxyFor(NHibernate.Persister.Entity.IEntityPersister,NHibernate.Engine.EntityKey,System.Object)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Engine.IPersistenceContext.ProxyFor(NHibernate.Persister.Entity.IEntityPersister,NHibernate.Engine.EntityKey,System.Object)"]