NPersistence Reference Guide
Bind an instance of System.DateTime to a Parameter object.

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

Syntax

   
 C# 
Query SetParameter(
	Parameter<DateTime> param,
	DateTime value,
	TemporalType temporalType
)

Parameters

param
Parameter<(Of <(<'DateTime>)>)>
parameter object
value
DateTime
parameter value
temporalType
TemporalType
temporal type

Return Value

the same query instance

Exceptions

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

See Also