Bind a value to an indexed parameter.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IQuery SetParameter<T>( int position, T val ) |
Visual Basic |
---|
Function SetParameter(Of T) ( _ position As Integer, _ val As T _ ) As IQuery |
Visual C++ |
---|
generic<typename T> IQuery^ SetParameter( int position, T val ) |
Parameters
- position
- Type: System..::..Int32
Position of the parameter in the query, numbered from 0
- val
- Type: T
The possibly null parameter value
Type Parameters
- T
- The parameter's NHibernate.Type
Return Value
[Missing <returns> documentation for "M:NHibernate.IQuery.SetParameter``1(System.Int32,``0)"]