Is this instance associated with this Session?

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function Contains ( _
	obj As Object _
) As Boolean
C#
bool Contains(
	Object obj
)
Visual C++
bool Contains(
	Object^ obj
)
JavaScript
function contains(obj);

Parameters

obj
Type: System..::.Object
an instance of a persistent class

Return Value

true if the given instance is associated with this Session

See Also