Share via


IConventionStoredProcedureBuilder.HasRowsAffectedParameter(Boolean) Method

Definition

Configures a new parameter that returns the rows affected if no such parameter exists.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureParameterBuilder? HasRowsAffectedParameter (bool fromDataAnnotation = false);
abstract member HasRowsAffectedParameter : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureParameterBuilder
Public Function HasRowsAffectedParameter (Optional fromDataAnnotation As Boolean = false) As IConventionStoredProcedureParameterBuilder

Parameters

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The builder instance if the configuration was applied, null otherwise.

Applies to