NPersistence Reference Guide
Get the parameter object corresponding to the declared parameter of the given name. 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>(
	string name
)

Parameters

name
String
parameter name

Type Parameters

T

Return Value

parameter object

Exceptions

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

See Also