NPersistence Reference Guide
Get the parameter object corresponding to the declared positional parameter with the given position. This method is not required to be supported for native queries.

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

Syntax

   
 C# 
Parameter<T> GetParameter<T>(
	int position
)

Parameters

position
Int32
position

Type Parameters

T

Return Value

parameter object

Exceptions

ExceptionCondition
System..::..ArgumentException if the parameter with the specified position does not exist
System..::..InvalidOperationException if invoked on a native query when the implementation does not support this use

See Also