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