Register the "hydrated" state of an entity instance, after the first step of 2-phase loading. Add the "hydrated state" (an array) of an uninitialized entity to the session. We don't try to resolve any associations yet, because there might be other entities waiting to be read from the JDBC result set we are currently processing

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

Syntax

C#
public static void PostHydrate(
	IEntityPersister persister,
	Object id,
	Object[] values,
	Object rowId,
	Object obj,
	LockMode lockMode,
	bool lazyPropertiesAreUnfetched,
	ISessionImplementor session
)
Visual Basic
Public Shared Sub PostHydrate ( _
	persister As IEntityPersister, _
	id As Object, _
	values As Object(), _
	rowId As Object, _
	obj As Object, _
	lockMode As LockMode, _
	lazyPropertiesAreUnfetched As Boolean, _
	session As ISessionImplementor _
)
Visual C++
public:
static void PostHydrate(
	IEntityPersister^ persister, 
	Object^ id, 
	array<Object^>^ values, 
	Object^ rowId, 
	Object^ obj, 
	LockMode^ lockMode, 
	bool lazyPropertiesAreUnfetched, 
	ISessionImplementor^ session
)

Parameters

persister
Type: NHibernate.Persister.Entity..::..IEntityPersister

[Missing <param name="persister"/> documentation for "M:NHibernate.Engine.TwoPhaseLoad.PostHydrate(NHibernate.Persister.Entity.IEntityPersister,System.Object,System.Object[],System.Object,System.Object,NHibernate.LockMode,System.Boolean,NHibernate.Engine.ISessionImplementor)"]

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Engine.TwoPhaseLoad.PostHydrate(NHibernate.Persister.Entity.IEntityPersister,System.Object,System.Object[],System.Object,System.Object,NHibernate.LockMode,System.Boolean,NHibernate.Engine.ISessionImplementor)"]

values
Type: array<System..::..Object>[]()[][]

[Missing <param name="values"/> documentation for "M:NHibernate.Engine.TwoPhaseLoad.PostHydrate(NHibernate.Persister.Entity.IEntityPersister,System.Object,System.Object[],System.Object,System.Object,NHibernate.LockMode,System.Boolean,NHibernate.Engine.ISessionImplementor)"]

rowId
Type: System..::..Object

[Missing <param name="rowId"/> documentation for "M:NHibernate.Engine.TwoPhaseLoad.PostHydrate(NHibernate.Persister.Entity.IEntityPersister,System.Object,System.Object[],System.Object,System.Object,NHibernate.LockMode,System.Boolean,NHibernate.Engine.ISessionImplementor)"]

obj
Type: System..::..Object

[Missing <param name="obj"/> documentation for "M:NHibernate.Engine.TwoPhaseLoad.PostHydrate(NHibernate.Persister.Entity.IEntityPersister,System.Object,System.Object[],System.Object,System.Object,NHibernate.LockMode,System.Boolean,NHibernate.Engine.ISessionImplementor)"]

lockMode
Type: NHibernate..::..LockMode

[Missing <param name="lockMode"/> documentation for "M:NHibernate.Engine.TwoPhaseLoad.PostHydrate(NHibernate.Persister.Entity.IEntityPersister,System.Object,System.Object[],System.Object,System.Object,NHibernate.LockMode,System.Boolean,NHibernate.Engine.ISessionImplementor)"]

lazyPropertiesAreUnfetched
Type: System..::..Boolean

[Missing <param name="lazyPropertiesAreUnfetched"/> documentation for "M:NHibernate.Engine.TwoPhaseLoad.PostHydrate(NHibernate.Persister.Entity.IEntityPersister,System.Object,System.Object[],System.Object,System.Object,NHibernate.LockMode,System.Boolean,NHibernate.Engine.ISessionImplementor)"]

session
Type: NHibernate.Engine..::..ISessionImplementor

[Missing <param name="session"/> documentation for "M:NHibernate.Engine.TwoPhaseLoad.PostHydrate(NHibernate.Persister.Entity.IEntityPersister,System.Object,System.Object[],System.Object,System.Object,NHibernate.LockMode,System.Boolean,NHibernate.Engine.ISessionImplementor)"]

See Also