NavigationBackingFieldAttributeConvention クラス

定義

属性に基づいてバッキング フィールドを持つナビゲーション プロパティを構成する BackingFieldAttribute 規則。

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
実装

注釈

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

コンストラクター

名前 説明
NavigationBackingFieldAttributeConvention(ProviderConventionSetBuilderDependencies)

NavigationBackingFieldAttributeConvention の新しいインスタンスを作成します。

プロパティ

名前 説明
Dependencies

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

(継承元 NavigationAttributeConventionBase<TAttribute>)

メソッド

名前 説明
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>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)

適用対象