Get the ID for the collection owner entity that is affected by this event.

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

Syntax

C#
public Object AffectedOwnerIdOrNull { get; }
Visual Basic
Public ReadOnly Property AffectedOwnerIdOrNull As Object
	Get
Visual C++
public:
property Object^ AffectedOwnerIdOrNull {
	Object^ get ();
}

Field Value

Returns null if the ID cannot be obtained from the collection's loaded key (e.g., a property-ref is used for the collection and does not include the entity's ID)

See Also