Language

NavigationAttributeConventionBase<TAttribute> クラス

定義

ナビゲーションに適用される属性に基づいて構成を実行する規則の基本型。

[System.Runtime.CompilerServices.Nullable(0)]
public abstract class NavigationAttributeConventionBase<TAttribute> 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.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
[<System.Runtime.CompilerServices.Nullable(0)>]
type NavigationAttributeConventionBase<'Attribute (requires 'Attribute :> Attribute)> = class
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)
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

型パラメーター

TAttribute

検索する属性の種類。

継承
NavigationAttributeConventionBase<TAttribute>
派生
属性
実装

注釈

詳細と例については、「 モデル構築規則 」を参照してください。

コンストラクター

Name 説明
NavigationAttributeConventionBase<TAttribute>(ProviderConventionSetBuilderDependencies)

NavigationAttributeConventionBase<TAttribute>の新しいインスタンスを作成します。

プロパティ

Name 説明
Dependencies

このサービスの依存関係。

メソッド

Name 説明
GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionNavigation)

指定されたナビゲーションに適用される属性を返します。

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionSkipNavigation)

指定されたスキップ ナビゲーションに適用される属性を返します。

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

エンティティ型がモデルに追加された後に呼び出されます。

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

エンティティ型がモデルに追加された後、属性を持つすべてのナビゲーション プロパティに対して呼び出されます。

ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)

エンティティ型の基本型が変更された後に呼び出されます。

ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

エンティティ型の基本型が変更された後、属性を持つすべてのナビゲーション プロパティに対して呼び出されます。

ProcessEntityTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

エンティティ型が無視された後に呼び出されます。

ProcessEntityTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)

エンティティ型が無視された後に属性を持つすべてのナビゲーション プロパティに対して呼び出されます。

ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<String>)

属性を持つナビゲーション プロパティが無視された後に呼び出されます。

ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

エンティティ型メンバーが無視された後に呼び出されます。

ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>)

エンティティ型がモデルから削除された後に呼び出されます。

ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

エンティティ型が削除された後に属性を持つすべてのナビゲーション プロパティに対して呼び出されます。

ProcessEntityTypeRemoved(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

エンティティ型が削除された後に属性を持つすべてのナビゲーション プロパティに対して呼び出されます。

ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

外部キーのプリンシパルの末尾が変更された後に呼び出されます。

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

外部キーのプリンシパルの末尾が変更された後に呼び出されます。

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

エンティティ型にナビゲーションが追加された後に呼び出されます。

ProcessNavigationAdded(IConventionNavigationBuilder, TAttribute, IConventionContext<IConventionNavigationBuilder>)

属性を持つナビゲーション プロパティがエンティティ型に追加された後に呼び出されます。

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)

エンティティ型にナビゲーションが追加された後に呼び出されます。

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, TAttribute, IConventionContext<IConventionNavigation>)

属性を持つナビゲーション プロパティがエンティティ型に追加された後に呼び出されます。

ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, IConventionContext<IConventionSkipNavigationBuilder>)

スキップ ナビゲーションがエンティティ型に追加された後に呼び出されます。

ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, TAttribute, IConventionContext<IConventionSkipNavigationBuilder>)

属性を持つスキップ ナビゲーション プロパティがエンティティ型に追加された後に呼び出されます。

ProcessTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

エンティティ型が無視された後に呼び出されます。

ProcessTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)

エンティティ型が無視された後に属性を持つすべてのナビゲーション プロパティに対して呼び出されます。

適用対象