Load an entity instance. If OptionalObject is supplied, load the entity state into the given (uninitialized) object

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

Syntax

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

Parameters

id
Type: System..::..Object

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

optionalObject
Type: System..::..Object

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

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

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

Return Value

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

See Also