Share via


IConventionStoredProcedureParameterBuilder.CanSetDirection Method

Definition

Returns a value indicating whether the given direction can be configured on the corresponding stored procedure parameter.

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

Parameters

direction
ParameterDirection

The direction.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the given direction can be configured.

Applies to