Grab the existing proxy for an instance, if one exists.
(otherwise return the instance)
Namespace:
NHibernate.ImplAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function ProxyFor ( _ persister As IEntityPersister, _ key As EntityKey, _ impl As Object _ ) As Object |
C# |
---|
public Object ProxyFor( IEntityPersister persister, EntityKey key, Object impl ) |
Visual C++ |
---|
public: virtual Object^ ProxyFor( IEntityPersister^ persister, EntityKey^ key, Object^ impl ) sealed |
JavaScript |
---|
function proxyFor(persister, key, impl); |
Parameters
- persister
- Type: NHibernate.Persister.Entity..::.IEntityPersister
- key
- Type: NHibernate.Engine..::.EntityKey
- impl
- Type: System..::.Object