Construct a native-sql return representing a collection initializer
Namespace: NHibernate.Engine.Query.SqlAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public NativeSQLQueryCollectionReturn( string alias, string ownerEntityName, string ownerProperty, IDictionary<string, string[]> propertyResults, LockMode lockMode ) |
Visual Basic |
---|
Public Sub New ( _ alias As String, _ ownerEntityName As String, _ ownerProperty As String, _ propertyResults As IDictionary(Of String, String()), _ lockMode As LockMode _ ) |
Visual C++ |
---|
public: NativeSQLQueryCollectionReturn( String^ alias, String^ ownerEntityName, String^ ownerProperty, IDictionary<String^, array<String^>^>^ propertyResults, LockMode^ lockMode ) |
Parameters
- alias
- Type: System..::..String
The result alias
- ownerEntityName
- Type: System..::..String
The entity-name of the entity owning the collection to be initialized.
- ownerProperty
- Type: System..::..String
The property name (on the owner) which represents the collection to be initialized.
- 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 to the collection.