Udostępnij za pośrednictwem


OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.HasResultColumn Metoda

Definicja

Przeciążenia

HasResultColumn(String)

Konfiguruje nową kolumnę wyniku dla tej procedury składowanej. Jest to używane w przypadku kolumn wygenerowanych przez bazę danych.

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

Konfiguruje nową kolumnę wyniku dla tej procedury składowanej. Jest to używane w przypadku kolumn wygenerowanych przez bazę danych.

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

Konfiguruje nową kolumnę wyniku dla tej procedury składowanej. Jest to używane w przypadku kolumn wygenerowanych przez bazę danych.

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

Konfiguruje nową kolumnę wyniku dla tej procedury składowanej. Jest to używane w przypadku kolumn wygenerowanych przez bazę danych.

HasResultColumn(String)

Konfiguruje nową kolumnę wyniku dla tej procedury składowanej. Jest to używane w przypadku kolumn wygenerowanych przez bazę danych.

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)

Parametry

propertyName
String

Nazwa właściwości.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań konfiguracji.

Dotyczy

HasResultColumn(String, Action<StoredProcedureResultColumnBuilder>)

Konfiguruje nową kolumnę wyniku dla tej procedury składowanej. Jest to używane w przypadku kolumn wygenerowanych przez bazę danych.

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)

Parametry

propertyName
String

Nazwa właściwości.

buildAction
Action<StoredProcedureResultColumnBuilder>

Akcja, która wykonuje konfigurację kolumny.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań konfiguracji.

Dotyczy

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

Konfiguruje nową kolumnę wyniku dla tej procedury składowanej. Jest to używane w przypadku kolumn wygenerowanych przez bazę danych.

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)

Parametry typu

TProperty

Parametry

propertyExpression
Expression<Func<TDependentEntity,TProperty>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania (blog => blog.Url).

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań konfiguracji.

Dotyczy

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

Konfiguruje nową kolumnę wyniku dla tej procedury składowanej. Jest to używane w przypadku kolumn wygenerowanych przez bazę danych.

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)

Parametry typu

TProperty

Parametry

propertyExpression
Expression<Func<TDependentEntity,TProperty>>

Wyrażenie lambda reprezentujące właściwość do skonfigurowania (blog => blog.Url).

buildAction
Action<StoredProcedureResultColumnBuilder>

Akcja, która wykonuje konfigurację kolumny.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań konfiguracji.

Dotyczy