SetParameter Method (Int32, Object)
NPersistence Reference Guide
Bind an argument to a positional parameter.

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
Query SetParameter(
	int position,
	Object value
)

Parameters

position
Int32
position
value
Object
parameter value

Return Value

the same query instance

Exceptions

ExceptionCondition
System..::..ArgumentException if position does not correspond to a positional parameter of the query or if the argument is of incorrect type

See Also