Retrieve a entity.

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

Syntax

C#
public T Get<T>(
	Object id
)
Visual Basic
Public Function Get(Of T) ( _
	id As Object _
) As T
Visual C++
public:
generic<typename T>
virtual T Get(
	Object^ id
) sealed

Parameters

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Impl.StatelessSessionImpl.Get``1(System.Object)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:NHibernate.Impl.StatelessSessionImpl.Get``1(System.Object)"]

Return Value

a detached entity instance

See Also