IConventionStoredProcedure.SetIsRowsAffectedReturned(Boolean, Boolean) Method

Definition

Configures whether this stored procedure returns the number of rows affected.

public bool SetIsRowsAffectedReturned (bool rowsAffectedReturned, bool fromDataAnnotation = false);
abstract member SetIsRowsAffectedReturned : bool * bool -> bool
Public Function SetIsRowsAffectedReturned (rowsAffectedReturned As Boolean, Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

rowsAffectedReturned
Boolean

A value indicating whether the number of rows affected is returned.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to