Udostępnij za pośrednictwem


OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>.HasOriginalValueParameter Metoda

Definicja

Przeciążenia

HasOriginalValueParameter(String)

Konfiguruje nowy parametr, który przechowuje oryginalną wartość, jeśli nie istnieje żaden parametr mapowany na daną właściwość.

HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>)

Konfiguruje nowy parametr, który przechowuje oryginalną wartość, jeśli nie istnieje żaden parametr mapowany na daną właściwość.

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

Konfiguruje nowy parametr, który przechowuje oryginalną wartość, jeśli nie istnieje żaden parametr mapowany na daną właściwość.

HasOriginalValueParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

Konfiguruje nowy parametr, który przechowuje oryginalną wartość, jeśli nie istnieje żaden parametr mapowany na daną właściwość.

HasOriginalValueParameter(String)

Konfiguruje nowy parametr, który przechowuje oryginalną wartość, jeśli nie istnieje żaden parametr mapowany na daną właściwość.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter (string propertyName);
override this.HasOriginalValueParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter (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

HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>)

Konfiguruje nowy parametr, który przechowuje oryginalną wartość, jeśli nie istnieje żaden parametr mapowany na daną właściwość.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity> HasOriginalValueParameter (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
override this.HasOriginalValueParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasOriginalValueParameter (propertyName As String, buildAction As Action(Of StoredProcedureParameterBuilder)) As OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity)

Parametry

propertyName
String

Nazwa parametru.

buildAction
Action<StoredProcedureParameterBuilder>

Akcja, która wykonuje konfigurację parametru.

Zwraca

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

Dotyczy

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

Konfiguruje nowy parametr, który przechowuje oryginalną wartość, jeśli nie istnieje żaden parametr mapowany na daną właściwość.

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

HasOriginalValueParameter<TProperty>(Expression<Func<TDependentEntity,TProperty>>, Action<StoredProcedureParameterBuilder>)

Konfiguruje nowy parametr, który przechowuje oryginalną wartość, jeśli nie istnieje żaden parametr mapowany na daną właściwość.

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

Akcja, która wykonuje konfigurację parametru.

Zwraca

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

Dotyczy