Compare two instances of the class mapped by this type for persistence "equality", ie. equality of persistent state.

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

Syntax

Visual Basic (Declaration)
Function Equals ( _
	x As Object, _
	y As Object _
) As Boolean
C#
bool Equals(
	Object x,
	Object y
)
Visual C++
bool Equals(
	Object^ x, 
	Object^ y
)
JavaScript
function equals(x, y);

Parameters

x
Type: System..::.Object
y
Type: System..::.Object

Return Value

See Also