NavigationAttributeConventionBase<TAttribute>.ProcessForeignKeyPrincipalEndChanged 方法

定义

重载

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

在外键的主体末尾更改后调用。

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

在外键的主体末尾更改后调用。

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
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>)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
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>

与约定执行关联的其他信息。

适用于