NavigationAttributeConventionBase<TAttribute>.ProcessForeignKeyPrincipalEndChanged Metodo

Definizione

Overload

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Chiamato dopo la fine principale di una chiave esterna viene modificata.

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IEnumerable<TAttribute>, IEnumerable<TAttribute>, IConventionContext<IConventionForeignKeyBuilder>)

Chiamato dopo la fine principale di una chiave esterna viene modificata.

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Chiamato dopo la fine principale di una chiave esterna viene modificata.

public virtual void ProcessForeignKeyPrincipalEndChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> context);
abstract member ProcessForeignKeyPrincipalEndChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> -> unit
override this.ProcessForeignKeyPrincipalEndChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> -> unit
Public Overridable Sub ProcessForeignKeyPrincipalEndChanged (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of IConventionForeignKeyBuilder))

Parametri

relationshipBuilder
IConventionForeignKeyBuilder

Generatore per la chiave esterna.

context
IConventionContext<IConventionForeignKeyBuilder>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Implementazioni

Si applica a

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IEnumerable<TAttribute>, IEnumerable<TAttribute>, IConventionContext<IConventionForeignKeyBuilder>)

Chiamato dopo la fine principale di una chiave esterna viene modificata.

public virtual void ProcessForeignKeyPrincipalEndChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, System.Collections.Generic.IEnumerable<TAttribute> dependentToPrincipalAttributes, System.Collections.Generic.IEnumerable<TAttribute> principalToDependentAttributes, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> context);
public virtual void ProcessForeignKeyPrincipalEndChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, System.Collections.Generic.IEnumerable<TAttribute>? dependentToPrincipalAttributes, System.Collections.Generic.IEnumerable<TAttribute>? principalToDependentAttributes, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> context);
abstract member ProcessForeignKeyPrincipalEndChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * seq<'Attribute (requires 'Attribute :> Attribute)> * seq<'Attribute (requires 'Attribute :> Attribute)> * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> -> unit
override this.ProcessForeignKeyPrincipalEndChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * seq<'Attribute (requires 'Attribute :> Attribute)> * seq<'Attribute (requires 'Attribute :> Attribute)> * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder> -> unit
Public Overridable Sub ProcessForeignKeyPrincipalEndChanged (relationshipBuilder As IConventionForeignKeyBuilder, dependentToPrincipalAttributes As IEnumerable(Of TAttribute), principalToDependentAttributes As IEnumerable(Of TAttribute), context As IConventionContext(Of IConventionForeignKeyBuilder))

Parametri

relationshipBuilder
IConventionForeignKeyBuilder

Generatore per la chiave esterna.

dependentToPrincipalAttributes
IEnumerable<TAttribute>

Attributi relativi allo spostamento dell'entità dipendente.

principalToDependentAttributes
IEnumerable<TAttribute>

Attributi dell'entità da spostare dipendente.

context
IConventionContext<IConventionForeignKeyBuilder>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Si applica a