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

Parameters

position
Int32
position
value
DateTime
parameter value
temporalType
TemporalType
temporal type

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

See Also