Initializes an instance of the QueryParameters class.

Namespace:  NHibernate.Engine
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	positionalParameterTypes As IType(), _
	positionalParameterValues As Object(), _
	namedParameters As IDictionary, _
	lockModes As IDictionary, _
	rowSelection As RowSelection, _
	cacheable As Boolean, _
	cacheRegion As String, _
	forceCacheRefresh As Boolean, _
	collectionKeys As Object(), _
	optionalObject As Object, _
	optionalEntityName As Type, _
	optionalId As Object, _
	resultTransformer As IResultTransformer _
)
C#
public QueryParameters(
	IType[] positionalParameterTypes,
	Object[] positionalParameterValues,
	IDictionary namedParameters,
	IDictionary lockModes,
	RowSelection rowSelection,
	bool cacheable,
	string cacheRegion,
	bool forceCacheRefresh,
	Object[] collectionKeys,
	Object optionalObject,
	Type optionalEntityName,
	Object optionalId,
	IResultTransformer resultTransformer
)
Visual C++
public:
QueryParameters(
	array<IType^>^ positionalParameterTypes, 
	array<Object^>^ positionalParameterValues, 
	IDictionary^ namedParameters, 
	IDictionary^ lockModes, 
	RowSelection^ rowSelection, 
	bool cacheable, 
	String^ cacheRegion, 
	bool forceCacheRefresh, 
	array<Object^>^ collectionKeys, 
	Object^ optionalObject, 
	Type^ optionalEntityName, 
	Object^ optionalId, 
	IResultTransformer^ resultTransformer
)
JavaScript
NHibernate.Engine.QueryParameters = function(positionalParameterTypes, positionalParameterValues, namedParameters, lockModes, rowSelection, cacheable, cacheRegion, forceCacheRefresh, collectionKeys, optionalObject, optionalEntityName, optionalId, resultTransformer);

Parameters

positionalParameterTypes
Type: array< NHibernate.Type..::.IType >[]()[]
An array of IType objects for the parameters.
positionalParameterValues
Type: array< System..::.Object >[]()[]
An array of Object objects for the parameters.
namedParameters
Type: System.Collections..::.IDictionary
An IDictionary that is parameter name keyed to a TypedValue value.
lockModes
Type: System.Collections..::.IDictionary
An IDictionary that is hql alias keyed to a LockMode value.
rowSelection
Type: NHibernate.Engine..::.RowSelection
cacheable
Type: System..::.Boolean
cacheRegion
Type: System..::.String
forceCacheRefresh
Type: System..::.Boolean
collectionKeys
Type: array< System..::.Object >[]()[]
optionalObject
Type: System..::.Object
optionalEntityName
Type: System..::.Type
optionalId
Type: System..::.Object
resultTransformer
Type: NHibernate.Transform..::.IResultTransformer

See Also