RuntimeStoredProcedure.AddResultColumn(String, Boolean, String) Method

Definition

Adds a new column of the result for this stored procedure mapped to the property with the given name

public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureResultColumn AddResultColumn (string name, bool forRowsAffected, string? propertyName);
abstract member AddResultColumn : string * bool * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureResultColumn
override this.AddResultColumn : string * bool * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureResultColumn
Public Overridable Function AddResultColumn (name As String, forRowsAffected As Boolean, propertyName As String) As RuntimeStoredProcedureResultColumn

Parameters

name
String

The name of the result column.

forRowsAffected
Boolean

Whether the column holds the rows affected.

propertyName
String

The name of the corresponding property.

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureResultColumn

Applies to