Is this instance associated with this Session?

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

Syntax

C#
bool Contains(
	Object obj
)
Visual Basic
Function Contains ( _
	obj As Object _
) As Boolean
Visual C++
bool Contains(
	Object^ 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