Return the persistent instance of the given entity class with the given identifier,
assuming that the instance exists.
Namespace:
NHibernate
Assembly:
NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function Load(Of T) ( _
id As Object _
) As T |
Visual C++ |
---|
generic<typename T>
T Load(
Object^ id
) |
JavaScript |
---|
JavaScript does not support generic types or methods. |
Parameters
- id
- Type: System..::.Object
A valid identifier of an existing persistent instance of the class
Type Parameters
Return Value
The persistent instance or proxy
Remarks
See Also