Construct a return representing an entity returned at the root of the result.

Namespace: NHibernate.Engine.Query.Sql
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public NativeSQLQueryRootReturn(
	string alias,
	string entityName,
	LockMode lockMode
)
Visual Basic
Public Sub New ( _
	alias As String, _
	entityName As String, _
	lockMode As LockMode _
)
Visual C++
public:
NativeSQLQueryRootReturn(
	String^ alias, 
	String^ entityName, 
	LockMode^ lockMode
)

Parameters

alias
Type: System..::..String
The result alias
entityName
Type: System..::..String
The entity name.
lockMode
Type: NHibernate..::..LockMode
The lock mode to apply

See Also