Compare two instances of the class mapped by this IType for persistence "equality" - ie. Equality of persistent state.

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

Syntax

Visual Basic (Declaration)
Public Overrides Function Equals ( _
	x As Object, _
	y As Object _
) As Boolean
C#
public override bool Equals(
	Object x,
	Object y
)
Visual C++
public:
virtual bool Equals(
	Object^ x, 
	Object^ y
) override
JavaScript
function equals(x, y);

Parameters

x
Type: System..::.Object
The left hand side object.
y
Type: System..::.Object
The right hand side object.

Return Value

True if the two objects contain the same values.

Implements

IType..::.Equals(Object, Object)

See Also