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

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

Syntax

C#
bool IsEqual(
	Object x,
	Object y,
	EntityMode entityMode,
	ISessionFactoryImplementor factory
)
Visual Basic
Function IsEqual ( _
	x As Object, _
	y As Object, _
	entityMode As EntityMode, _
	factory As ISessionFactoryImplementor _
) As Boolean
Visual C++
bool IsEqual(
	Object^ x, 
	Object^ y, 
	EntityMode entityMode, 
	ISessionFactoryImplementor^ factory
)

Parameters

x
Type: System..::..Object

[Missing <param name="x"/> documentation for "M:NHibernate.Type.IType.IsEqual(System.Object,System.Object,NHibernate.EntityMode,NHibernate.Engine.ISessionFactoryImplementor)"]

y
Type: System..::..Object

[Missing <param name="y"/> documentation for "M:NHibernate.Type.IType.IsEqual(System.Object,System.Object,NHibernate.EntityMode,NHibernate.Engine.ISessionFactoryImplementor)"]

entityMode
Type: NHibernate..::..EntityMode

[Missing <param name="entityMode"/> documentation for "M:NHibernate.Type.IType.IsEqual(System.Object,System.Object,NHibernate.EntityMode,NHibernate.Engine.ISessionFactoryImplementor)"]

factory
Type: NHibernate.Engine..::..ISessionFactoryImplementor

[Missing <param name="factory"/> documentation for "M:NHibernate.Type.IType.IsEqual(System.Object,System.Object,NHibernate.EntityMode,NHibernate.Engine.ISessionFactoryImplementor)"]

Return Value

boolean

See Also