NPersistence Reference Guide

Overload List

NameDescription
SetParameter(Int32, Object)
Bind an argument to a positional parameter.
SetParameter(String, Object)
Bind an argument to a named parameter.
SetParameter(Int32, Object)
Bind an argument to a positional parameter. position parameter value

Return Value

the same query instance if position does not correspond to a positional parameter of the query or if the argument is of incorrect type
SetParameter(String, Object)
Bind an argument to a named parameter. parameter name parameter value

Return Value

the same query instance if the parameter name does not correspond to a parameter of the query or if the argument is of incorrect type
SetParameter<(Of <<'(T>)>>)(Parameter<(Of <<'(T>)>>), T)
Bind the value of a Parameter object.
SetParameter<(Of <<'(T>)>>)(Parameter<(Of <<'(T>)>>), T)
Bind the value of a Parameter object. parameter object parameter value

Return Value

the same query instance if the parameter does not correspond to a parameter of the query
SetParameter(Int32, DateTime, TemporalType)
Bind an instance of System.DateTime to a positional parameter.
SetParameter(String, DateTime, TemporalType)
Bind an instance of System.DateTime to a named parameter.
SetParameter(Int32, DateTime, TemporalType)
Bind an instance of System.DateTime to a positional parameter. position parameter value temporal type

Return Value

the same query instance if position does not correspond to a positional parameter of the query or if the value argument is of incorrect type
SetParameter(String, DateTime, TemporalType)
Bind an instance of System.DateTime to a named parameter. parameter name parameter value temporal type

Return Value

the same query instance if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect type
SetParameter(Parameter<(Of <<'(DateTime>)>>), DateTime, TemporalType)
Bind an instance of System.DateTime to a Parameter object.
SetParameter(Parameter<(Of <<'(DateTime>)>>), DateTime, TemporalType)
Bind an instance of System.DateTime to a Parameter object. parameter object parameter value temporal type

Return Value

the same query instance if the parameter does not correspond to a parameter of the query

See Also