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

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

Syntax

   
 C# 
Query SetParameter(
	string name,
	Object value
)

Parameters

name
String
parameter name
value
Object
parameter value

Return Value

the same query instance

Exceptions

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

See Also