Bind a value to an indexed parameter, guessing the NHibernate type from
the class of the given object.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IQuery SetParameter( int position, Object val ) |
Visual Basic |
---|
Function SetParameter ( _ position As Integer, _ val As Object _ ) As IQuery |
Visual C++ |
---|
IQuery^ SetParameter( int position, Object^ val ) |
Parameters
- position
- Type: System..::..Int32
The position of the parameter in the query, numbered from 0
- val
- Type: System..::..Object
The non-null parameter value
Return Value
[Missing <returns> documentation for "M:NHibernate.IQuery.SetParameter(System.Int32,System.Object)"]