When implemented by a class, compare two instances of the class mapped by this
IType for persistence "equality" - ie. Equality of persistent state.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public MustOverride Function Equals ( _ x As Object, _ y As Object _ ) As Boolean |
C# |
---|
public abstract bool Equals( Object x, Object y ) |
Visual C++ |
---|
public: virtual bool Equals( Object^ x, Object^ y ) abstract |
JavaScript |
---|
function equals(x, y); |
Parameters
- x
- Type: System..::.Object
The left hand side object.
- y
- Type: System..::.Object
The right hand side object.