GigaSpaces XAP.NET Documentation
SetParameter Method (index, value)
Class LibraryGigaSpaces.CoreSqlQuery<(Of <(T>)>)SetParameter(Int32, Object)
Sets the query parameter value, the number of parameters matches the number of question marks (?) in the query.
Declaration Syntax
C#Visual BasicVisual C++J#
public SqlQuery<T> SetParameter(
	int index,
	Object value
)
Public Function SetParameter ( _
	index As Integer, _
	value As Object _
) As SqlQuery(Of T)
public:
SqlQuery<T>^ SetParameter(
	int index, 
	Object^ value
)
public SqlQuery<T> SetParameter(
	int index,
	Object value
)
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).

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 12.1.0.0 (12.1.0.17000)