Bind multiple values to a named query parameter. This is useful for binding a list
of values to an expression such as foo.bar in (:value_list)
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IMultiQuery SetParameterList( string name, ICollection vals, IType type ) |
Visual Basic |
---|
Function SetParameterList ( _ name As String, _ vals As ICollection, _ type As IType _ ) As IMultiQuery |
Visual C++ |
---|
IMultiQuery^ SetParameterList( String^ name, ICollection^ vals, IType^ type ) |
Parameters
- name
- Type: System..::..String
The name of the parameter
- vals
- Type: System.Collections..::..ICollection
A collection of values to list
- type
- Type: NHibernate.Type..::..IType
The Hibernate type of the values