Sdílet prostřednictvím


NavigationAttributeConventionBase<TAttribute>.ProcessForeignKeyPrincipalEndChanged Metoda

Definice

Přetížení

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Volá se po změně konce objektu zabezpečení cizího klíče.

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

Volá se po změně konce objektu zabezpečení cizího klíče.

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Zdroj:
NavigationAttributeConventionBase.cs
Zdroj:
NavigationAttributeConventionBase.cs
Zdroj:
NavigationAttributeConventionBase.cs
Zdroj:
NavigationAttributeConventionBase.cs
Zdroj:
NavigationAttributeConventionBase.cs

Volá se po změně konce objektu zabezpečení cizího klíče.

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))

Parametry

relationshipBuilder
IConventionForeignKeyBuilder

Tvůrce cizího klíče.

context
IConventionContext<IConventionForeignKeyBuilder>

Další informace související s prováděním konvencí

Implementuje

Platí pro

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

Zdroj:
NavigationAttributeConventionBase.cs
Zdroj:
NavigationAttributeConventionBase.cs
Zdroj:
NavigationAttributeConventionBase.cs
Zdroj:
NavigationAttributeConventionBase.cs
Zdroj:
NavigationAttributeConventionBase.cs

Volá se po změně konce objektu zabezpečení cizího klíče.

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))

Parametry

relationshipBuilder
IConventionForeignKeyBuilder

Tvůrce cizího klíče.

dependentToPrincipalAttributes
IEnumerable<TAttribute>

Atributy v závislosti na hlavní navigaci.

principalToDependentAttributes
IEnumerable<TAttribute>

Atributy v objektu zabezpečení k závislé navigaci.

context
IConventionContext<IConventionForeignKeyBuilder>

Další informace související s prováděním konvencí

Platí pro