Get the key value from the owning entity instance, usually the identifier, but might be some other unique key, in the case of property-ref

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

Syntax

C#
public Object GetKeyOfOwner(
	Object owner,
	ISessionImplementor session
)
Visual Basic
Public Function GetKeyOfOwner ( _
	owner As Object, _
	session As ISessionImplementor _
) As Object
Visual C++
public:
Object^ GetKeyOfOwner(
	Object^ owner, 
	ISessionImplementor^ session
)

Parameters

owner
Type: System..::..Object

[Missing <param name="owner"/> documentation for "M:NHibernate.Type.CollectionType.GetKeyOfOwner(System.Object,NHibernate.Engine.ISessionImplementor)"]

session
Type: NHibernate.Engine..::..ISessionImplementor

[Missing <param name="session"/> documentation for "M:NHibernate.Type.CollectionType.GetKeyOfOwner(System.Object,NHibernate.Engine.ISessionImplementor)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Type.CollectionType.GetKeyOfOwner(System.Object,NHibernate.Engine.ISessionImplementor)"]

See Also