NPersistence Reference Guide
Bind an instance of System.DateTime 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,
	DateTime value,
	TemporalType temporalType
)

Parameters

name
String
parameter name
value
DateTime
parameter value
temporalType
TemporalType
temporal type

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 value argument is of incorrect type

See Also