NavigationAttributeConventionBase<TAttribute>.ProcessSkipNavigationAdded 方法

定义

重载

ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, IConventionContext<IConventionSkipNavigationBuilder>)

在将跳过导航添加到实体类型后调用。

ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, TAttribute, IConventionContext<IConventionSkipNavigationBuilder>)

在将具有 特性的 skip 导航属性添加到实体类型后调用。

ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, IConventionContext<IConventionSkipNavigationBuilder>)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs

在将跳过导航添加到实体类型后调用。

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

参数

skipNavigationBuilder
IConventionSkipNavigationBuilder

跳过导航的生成器。

context
IConventionContext<IConventionSkipNavigationBuilder>

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

实现

适用于

ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, TAttribute, IConventionContext<IConventionSkipNavigationBuilder>)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs

在将具有 特性的 skip 导航属性添加到实体类型后调用。

public virtual void ProcessSkipNavigationAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder skipNavigationBuilder, TAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder> context);
abstract member ProcessSkipNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder * 'Attribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder> -> unit
override this.ProcessSkipNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder * 'Attribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder> -> unit
Public Overridable Sub ProcessSkipNavigationAdded (skipNavigationBuilder As IConventionSkipNavigationBuilder, attribute As TAttribute, context As IConventionContext(Of IConventionSkipNavigationBuilder))

参数

skipNavigationBuilder
IConventionSkipNavigationBuilder

导航的生成器。

attribute
TAttribute

属性。

context
IConventionContext<IConventionSkipNavigationBuilder>

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

适用于