Get a hashcode, consistent with persistence "equality"

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

Syntax

C#
int GetHashCode(
	Object x,
	EntityMode entityMode,
	ISessionFactoryImplementor factory
)
Visual Basic
Function GetHashCode ( _
	x As Object, _
	entityMode As EntityMode, _
	factory As ISessionFactoryImplementor _
) As Integer
Visual C++
int GetHashCode(
	Object^ x, 
	EntityMode entityMode, 
	ISessionFactoryImplementor^ factory
)

Parameters

x
Type: System..::..Object

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

entityMode
Type: NHibernate..::..EntityMode

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

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

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

Return Value

[Missing <returns> documentation for "M:NHibernate.Type.IType.GetHashCode(System.Object,NHibernate.EntityMode,NHibernate.Engine.ISessionFactoryImplementor)"]

See Also