Sets the query parameter value, the number of parameters matches the number of question marks (?) in the query.
Declaration Syntax
Parameters
- index (Int32)
- Index of parameter to set (1-based index).
- value (Object)
- Value of parameter.
Return Value
[Missing <returns> documentation for "M:GigaSpaces.Core.SqlQuery`1.SetParameter(System.Int32,System.Object)"]
Remarks
When setting an Enum value, it should be cast to underlying primitive value. e.g SetParameter(1, (int)MyEnum.MyValue).