Bind multiple values to a named query parameter, guessing the Hibernate
type from the class of the first object in the collection. 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# |
---|
IDetachedQuery SetParameterList( string name, ICollection vals ) |
Visual Basic |
---|
Function SetParameterList ( _ name As String, _ vals As ICollection _ ) As IDetachedQuery |
Visual C++ |
---|
IDetachedQuery^ SetParameterList( String^ name, ICollection^ vals ) |
Parameters
- name
- Type: System..::..String
The name of the parameter
- vals
- Type: System.Collections..::..ICollection
A collection of values to list
Return Value
[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetParameterList(System.String,System.Collections.ICollection)"]