Return the object with the specified id or throw exception if no row with that id exists. Defer the load, return a new proxy or return an existing proxy if possible. Do not check if the object was deleted.

Namespace:  NHibernate.Impl
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Function InternalLoad ( _
	clazz As Type, _
	id As Object, _
	eager As Boolean, _
	isNullable As Boolean _
) As Object
C#
public Object InternalLoad(
	Type clazz,
	Object id,
	bool eager,
	bool isNullable
)
Visual C++
public:
virtual Object^ InternalLoad(
	Type^ clazz, 
	Object^ id, 
	bool eager, 
	bool isNullable
) sealed
JavaScript
function internalLoad(clazz, id, eager, isNullable);

Parameters

clazz
Type: System..::.Type
id
Type: System..::.Object
eager
Type: System..::.Boolean
isNullable
Type: System..::.Boolean

Implements

ISessionImplementor..::.InternalLoad(Type, Object, Boolean, Boolean)

See Also