Load an instance of the persistent class.

Namespace: NHibernate.Persister.Entity
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
Object Load(
	Object id,
	Object optionalObject,
	LockMode lockMode,
	ISessionImplementor session
)
Visual Basic
Function Load ( _
	id As Object, _
	optionalObject As Object, _
	lockMode As LockMode, _
	session As ISessionImplementor _
) As Object
Visual C++
Object^ Load(
	Object^ id, 
	Object^ optionalObject, 
	LockMode^ lockMode, 
	ISessionImplementor^ session
)

Parameters

id
Type: System..::..Object

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

optionalObject
Type: System..::..Object

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

lockMode
Type: NHibernate..::..LockMode

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

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

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

Return Value

[Missing <returns> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.Load(System.Object,System.Object,NHibernate.LockMode,NHibernate.Engine.ISessionImplementor)"]

See Also