NavigationAttributeConventionBase<TAttribute> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
基于应用于导航的属性执行配置的约定的基类型。
public abstract class NavigationAttributeConventionBase<TAttribute> : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention where TAttribute : Attribute
public abstract class NavigationAttributeConventionBase<TAttribute> : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyPrincipalEndChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention where TAttribute : Attribute
public abstract class NavigationAttributeConventionBase<TAttribute> where TAttribute : Attribute
type NavigationAttributeConventionBase<'Attribute (requires 'Attribute :> Attribute)> = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeIgnoredConvention
interface IEntityTypeBaseTypeChangedConvention
interface INavigationAddedConvention
interface IEntityTypeMemberIgnoredConvention
type NavigationAttributeConventionBase<'Attribute (requires 'Attribute :> Attribute)> = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeIgnoredConvention
interface IEntityTypeRemovedConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeMemberIgnoredConvention
interface INavigationAddedConvention
interface ISkipNavigationAddedConvention
interface IForeignKeyPrincipalEndChangedConvention
type NavigationAttributeConventionBase<'Attribute (requires 'Attribute :> Attribute)> = class
Public MustInherit Class NavigationAttributeConventionBase(Of TAttribute)
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeIgnoredConvention, IEntityTypeMemberIgnoredConvention, INavigationAddedConvention
Public MustInherit Class NavigationAttributeConventionBase(Of TAttribute)
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeIgnoredConvention, IEntityTypeMemberIgnoredConvention, IEntityTypeRemovedConvention, IForeignKeyPrincipalEndChangedConvention, INavigationAddedConvention, ISkipNavigationAddedConvention
Public MustInherit Class NavigationAttributeConventionBase(Of TAttribute)
类型参数
- TAttribute
要查找的属性类型。
- 继承
-
NavigationAttributeConventionBase<TAttribute>
- 派生
- 实现
注解
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
NavigationAttributeConventionBase<TAttribute>(ProviderConventionSetBuilderDependencies) |
属性
Dependencies |
此服务的依赖项。 |