Share via


IConventionStoredProcedureParameter.SetDirection Method

Definition

Sets the direction of the parameter.

public System.Data.ParameterDirection SetDirection (System.Data.ParameterDirection direction, bool fromDataAnnotation = false);
abstract member SetDirection : System.Data.ParameterDirection * bool -> System.Data.ParameterDirection
Public Function SetDirection (direction As ParameterDirection, Optional fromDataAnnotation As Boolean = false) As ParameterDirection

Parameters

direction
ParameterDirection

The direction of the parameter.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

Applies to