共用方式為


NavigationAttributeConventionBase<TAttribute>.ProcessForeignKeyPrincipalEndChanged 方法

定義

多載

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

在外鍵的主體結束變更之後呼叫。

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

在外鍵的主體結束變更之後呼叫。

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

來源:
NavigationAttributeConventionBase.cs
來源:
NavigationAttributeConventionBase.cs
來源:
NavigationAttributeConventionBase.cs
來源:
NavigationAttributeConventionBase.cs
來源:
NavigationAttributeConventionBase.cs

在外鍵的主體結束變更之後呼叫。

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

參數

relationshipBuilder
IConventionForeignKeyBuilder

外鍵的產生器。

context
IConventionContext<IConventionForeignKeyBuilder>

與慣例執行相關聯的其他資訊。

實作

適用於

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

來源:
NavigationAttributeConventionBase.cs
來源:
NavigationAttributeConventionBase.cs
來源:
NavigationAttributeConventionBase.cs
來源:
NavigationAttributeConventionBase.cs
來源:
NavigationAttributeConventionBase.cs

在外鍵的主體結束變更之後呼叫。

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

參數

relationshipBuilder
IConventionForeignKeyBuilder

外鍵的產生器。

dependentToPrincipalAttributes
IEnumerable<TAttribute>

相依于主體導覽的屬性。

principalToDependentAttributes
IEnumerable<TAttribute>

要相依導覽之主體上的屬性。

context
IConventionContext<IConventionForeignKeyBuilder>

與慣例執行相關聯的其他資訊。

適用於