StoredProcedureBuilder<TEntity>.HasRowsAffectedParameter Method

Definition

Overloads

HasRowsAffectedParameter()

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

HasRowsAffectedParameter(Action<StoredProcedureParameterBuilder>)

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

HasRowsAffectedParameter()

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

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity> HasRowsAffectedParameter ();
override this.HasRowsAffectedParameter : unit -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasRowsAffectedParameter () As StoredProcedureBuilder(Of TEntity)

Returns

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

Applies to

HasRowsAffectedParameter(Action<StoredProcedureParameterBuilder>)

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

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity> HasRowsAffectedParameter (Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasRowsAffectedParameter : Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity (requires 'Entity : null)>
Public Overridable Function HasRowsAffectedParameter (buildAction As Action(Of StoredProcedureParameterBuilder)) As StoredProcedureBuilder(Of TEntity)

Parameters

buildAction
Action<StoredProcedureParameterBuilder>

An action that performs configuration of the parameter.

Returns

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

Applies to