OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.HasRowsAffectedReturnValue Method

Definition

Configures the result of this stored procedure to be the number of rows affected.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasRowsAffectedReturnValue (bool rowsAffectedReturned = true);
override this.HasRowsAffectedReturnValue : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasRowsAffectedReturnValue (Optional rowsAffectedReturned As Boolean = true) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)

Parameters

rowsAffectedReturned
Boolean

A value indicating whether this stored procedure returns the number of rows affected.

Returns

The same builder instance so that multiple configuration calls can be chained.

Applies to