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,
	IDictionary<string, string[]> propertyResults,
	LockMode lockMode
)
Visual Basic
Public Sub New ( _
	alias As String, _
	entityName As String, _
	propertyResults As IDictionary(Of String, String()), _
	lockMode As LockMode _
)
Visual C++
public:
NativeSQLQueryRootReturn(
	String^ alias, 
	String^ entityName, 
	IDictionary<String^, array<String^>^>^ propertyResults, 
	LockMode^ lockMode
)

Parameters

alias
Type: System..::..String
The result alias
entityName
Type: System..::..String
The entity name.
propertyResults
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, array<String>[]()[][]>)>)>
Any user-supplied column->property mappings
lockMode
Type: NHibernate..::..LockMode
The lock mode to apply

See Also