NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Bind an argument to a positional parameter.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
Query SetParameter( int position, Object value )
Parameters
- position
- Int32
position
- value
- Object
parameter value
Return Value
the same query instanceExceptions
Exception | Condition |
---|---|
System..::..ArgumentException | if position does not correspond to a positional parameter of the query or if the argument is of incorrect type |