Share via


StoredProcedureBuilder.HasResultColumn Method

Definition

Overloads

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

Configures a new column of the result for this stored procedure. This is used for database generated columns.

HasResultColumn(String)

Configures a new column of the result for this stored procedure. This is used for database generated columns.

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

Source:
StoredProcedureBuilder.cs
Source:
StoredProcedureBuilder.cs
Source:
StoredProcedureBuilder.cs

Configures a new column of the result for this stored procedure. This is used for database generated columns.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder HasResultColumn (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> buildAction);
abstract member HasResultColumn : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder
override this.HasResultColumn : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder
Public Overridable Function HasResultColumn (propertyName As String, buildAction As Action(Of StoredProcedureResultColumnBuilder)) As StoredProcedureBuilder

Parameters

propertyName
String

The property name.

buildAction
Action<StoredProcedureResultColumnBuilder>

An action that performs configuration of the column.

Returns

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

Applies to

HasResultColumn(String)

Source:
StoredProcedureBuilder.cs
Source:
StoredProcedureBuilder.cs
Source:
StoredProcedureBuilder.cs

Configures a new column of the result for this stored procedure. This is used for database generated columns.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder HasResultColumn (string propertyName);
abstract member HasResultColumn : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder
override this.HasResultColumn : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder
Public Overridable Function HasResultColumn (propertyName As String) As StoredProcedureBuilder

Parameters

propertyName
String

The property name.

Returns

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

Applies to