NavigationBackingFieldAttributeConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public class NavigationBackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>
public class NavigationBackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention
type NavigationBackingFieldAttributeConvention = class
inherit NavigationAttributeConventionBase<BackingFieldAttribute>
type NavigationBackingFieldAttributeConvention = class
inherit NavigationAttributeConventionBase<BackingFieldAttribute>
interface INavigationAddedConvention
interface IConvention
interface ISkipNavigationAddedConvention
Public Class NavigationBackingFieldAttributeConvention
Inherits NavigationAttributeConventionBase(Of BackingFieldAttribute)
Public Class NavigationBackingFieldAttributeConvention
Inherits NavigationAttributeConventionBase(Of BackingFieldAttribute)
Implements INavigationAddedConvention, ISkipNavigationAddedConvention
继承
NavigationBackingFieldAttributeConvention
实现
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
属性
方法
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)
在实体类型添加到模型后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)
对实体类型添加到模型后具有属性的每个导航属性调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder,
IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)
在实体类型的基类型更改后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder,
IConventionEntityType, IConventionEntityType, MemberInfo, Type,
TAttribute, IConventionContext<IConventionEntityType>)
在实体类型的基类型发生更改后,对具有属性的每个导航属性调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)
在忽略实体类型后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)
对于在实体类型之后具有属性的每个导航属性被调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<String>)
在忽略具有特性的导航属性之后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)
在忽略实体类型成员之后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>)
在从模型中删除实体类型后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)
对删除实体类型后具有特性的每个导航属性调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessEntityTypeRemoved(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)
对删除实体类型后具有特性的每个导航属性调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)
在外键的主体末尾更改后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder,
IEnumerable<TAttribute>, IEnumerable<TAttribute>, IConventionContext<IConventionForeignKeyBuilder>)
在外键的主体末尾更改后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessNavigationAdded(IConventionNavigationBuilder, BackingFieldAttribute, IConventionContext<IConventionNavigationBuilder>)
在将具有特性的导航属性添加到实体类型之后调用。
ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)
在将导航添加到实体类型后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessNavigationAdded(IConventionNavigationBuilder, TAttribute, IConventionContext<IConventionNavigationBuilder>)
在将具有特性的导航属性添加到实体类型之后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)
在将导航添加到实体类型后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, TAttribute, IConventionContext<IConventionNavigation>)
在将具有特性的导航属性添加到实体类型之后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, BackingFieldAttribute, IConventionContext<IConventionSkipNavigationBuilder>)
将导航属性配置为具有基于 属性的后备字段的 BackingFieldAttribute 约定。
ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, IConventionContext<IConventionSkipNavigationBuilder>)
在将跳过导航添加到实体类型后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, TAttribute, IConventionContext<IConventionSkipNavigationBuilder>)
在将具有特性的 skip 导航属性添加到实体类型之后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)
在忽略实体类型后调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
ProcessTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)
对于在实体类型之后具有属性的每个导航属性被调用。
(继承自 NavigationAttributeConventionBase<TAttribute> )
适用于