OwnedNavigationStoredProcedureBuilder.HasResultColumn Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>)
Configures a new column of the result for this stored procedure. This is used for database generated columns.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder HasResultColumn (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> buildAction);
abstract member HasResultColumn : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
override this.HasResultColumn : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
Public Overridable Function HasResultColumn (propertyName As String, buildAction As Action(Of StoredProcedureResultColumnBuilder)) As OwnedNavigationStoredProcedureBuilder
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)
Configures a new column of the result for this stored procedure. This is used for database generated columns.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder HasResultColumn (string propertyName);
abstract member HasResultColumn : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
override this.HasResultColumn : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder
Public Overridable Function HasResultColumn (propertyName As String) As OwnedNavigationStoredProcedureBuilder
Parameters
- propertyName
- String
The property name.
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
Entity Framework