Get the entity that owned this persistent collection when it was loaded
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public virtual Object GetLoadedCollectionOwnerOrNull( IPersistentCollection collection ) |
| Visual Basic |
|---|
Public Overridable Function GetLoadedCollectionOwnerOrNull ( _ collection As IPersistentCollection _ ) As Object |
| Visual C++ |
|---|
public: virtual Object^ GetLoadedCollectionOwnerOrNull( IPersistentCollection^ collection ) |
Parameters
- collection
- Type: NHibernate.Collection..::..IPersistentCollection
The persistent collection