SetParameter Generic Method
NPersistence Reference Guide
Bind the value of a Parameter object.

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

Syntax

   
 C# 
Query SetParameter<T>(
	Parameter<T> param,
	T value
)

Parameters

param
Parameter<(Of <(<'T>)>)>
parameter object
value
T
parameter value

Type Parameters

T

Return Value

the same query instance

Exceptions

ExceptionCondition
System..::..ArgumentException if the parameter does not correspond to a parameter of the query

See Also