Share via


OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.HasResultColumn Method

Definition

Overloads

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.

HasResultColumn<TProperty>(Expression<Func<TDependentEntity,TProperty>>)

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

HasResultColumn<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureResultColumnBuilder>)

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

HasResultColumn(String)

Source:
OwnedNavigationStoredProcedureBuilder%60%60.cs
Source:
OwnedNavigationStoredProcedureBuilder%60%60.cs
Source:
OwnedNavigationStoredProcedureBuilder%60%60.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.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasResultColumn (string propertyName);
override this.HasResultColumn : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasResultColumn (propertyName As String) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)

Parameters

propertyName
String

The property name.

Returns

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

Applies to

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

Source:
OwnedNavigationStoredProcedureBuilder%60%60.cs
Source:
OwnedNavigationStoredProcedureBuilder%60%60.cs
Source:
OwnedNavigationStoredProcedureBuilder%60%60.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.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasResultColumn (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> buildAction);
override this.HasResultColumn : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasResultColumn (propertyName As String, buildAction As Action(Of StoredProcedureResultColumnBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)

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<TProperty>(Expression<Func<TDependentEntity,TProperty>>)

Source:
OwnedNavigationStoredProcedureBuilder%60%60.cs
Source:
OwnedNavigationStoredProcedureBuilder%60%60.cs
Source:
OwnedNavigationStoredProcedureBuilder%60%60.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.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasResultColumn<TProperty> (System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression);
override this.HasResultColumn : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasResultColumn(Of TProperty) (propertyExpression As Expression(Of Func(Of TDependentEntity, TProperty))) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)

Type Parameters

TProperty

Parameters

propertyExpression
Expression<Func<TDependentEntity,TProperty>>

A lambda expression representing the property to be configured (blog => blog.Url).

Returns

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

Applies to

HasResultColumn<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureResultColumnBuilder>)

Source:
OwnedNavigationStoredProcedureBuilder%60%60.cs
Source:
OwnedNavigationStoredProcedureBuilder%60%60.cs
Source:
OwnedNavigationStoredProcedureBuilder%60%60.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.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasResultColumn<TProperty> (System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> buildAction);
override this.HasResultColumn : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasResultColumn(Of TProperty) (propertyExpression As Expression(Of Func(Of TDependentEntity, TProperty)), buildAction As Action(Of StoredProcedureResultColumnBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)

Type Parameters

TProperty

Parameters

propertyExpression
Expression<Func<TDependentEntity,TProperty>>

A lambda expression representing the property to be configured (blog => blog.Url).

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