IConventionStoredProcedureBuilder.HasRowsAffectedParameter(Boolean) Method

Definition

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

C#
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureParameterBuilder? HasRowsAffectedParameter (bool fromDataAnnotation = false);

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

Продукт Версии
Entity Framework Core 7.0, 8.0, 9.0