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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public override Object InternalLoad(
	string entityName,
	Object id,
	bool eager,
	bool isNullable
)
Visual Basic
Public Overrides Function InternalLoad ( _
	entityName As String, _
	id As Object, _
	eager As Boolean, _
	isNullable As Boolean _
) As Object
Visual C++
public:
virtual Object^ InternalLoad(
	String^ entityName, 
	Object^ id, 
	bool eager, 
	bool isNullable
) override

Parameters

entityName
Type: System..::..String

[Missing <param name="entityName"/> documentation for "M:NHibernate.Impl.SessionImpl.InternalLoad(System.String,System.Object,System.Boolean,System.Boolean)"]

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Impl.SessionImpl.InternalLoad(System.String,System.Object,System.Boolean,System.Boolean)"]

eager
Type: System..::..Boolean

[Missing <param name="eager"/> documentation for "M:NHibernate.Impl.SessionImpl.InternalLoad(System.String,System.Object,System.Boolean,System.Boolean)"]

isNullable
Type: System..::..Boolean

[Missing <param name="isNullable"/> documentation for "M:NHibernate.Impl.SessionImpl.InternalLoad(System.String,System.Object,System.Boolean,System.Boolean)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Impl.SessionImpl.InternalLoad(System.String,System.Object,System.Boolean,System.Boolean)"]

Implements

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

See Also