Bind a value to an indexed parameter, guessing the Hibernate 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# |
---|
IDetachedQuery SetParameter( int position, Object val ) |
Visual Basic |
---|
Function SetParameter ( _ position As Integer, _ val As Object _ ) As IDetachedQuery |
Visual C++ |
---|
IDetachedQuery^ 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.IDetachedQuery.SetParameter(System.Int32,System.Object)"]