Delen via


IConventionStoredProcedureBuilder.HasRowsAffectedResultColumn(Boolean) Method

Definition

Configures a new column that contains the rows affected for this stored procedure if no such column exists.

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

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