ComplexPropertyDiscoveryConvention クラス

定義

対応する逆ナビゲーションにあいまいさがない限り、ナビゲーション プロパティに基づいてエンティティ型間のリレーションシップを構成する規則。

public class ComplexPropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationRemovedConvention
type ComplexPropertyDiscoveryConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
    interface IEntityTypeBaseTypeChangedConvention
    interface IEntityTypeMemberIgnoredConvention
    interface IComplexPropertyAddedConvention
    interface INavigationRemovedConvention
    interface INavigationAddedConvention
    interface IPropertyRemovedConvention
    interface IPropertyAddedConvention
    interface ISkipNavigationRemovedConvention
    interface ISkipNavigationAddedConvention
    interface IModelFinalizingConvention
Public Class ComplexPropertyDiscoveryConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeMemberIgnoredConvention, IModelFinalizingConvention, INavigationAddedConvention, INavigationRemovedConvention, IPropertyAddedConvention, IPropertyRemovedConvention, ISkipNavigationAddedConvention, ISkipNavigationRemovedConvention
継承
ComplexPropertyDiscoveryConvention
実装

注釈

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

コンストラクター

ComplexPropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

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

プロパティ

Dependencies

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

メソッド

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

複合プロパティが型に似たオブジェクトに追加された後に呼び出されます。

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

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

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

ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

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

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

モデルの最終処理時に呼び出されます。

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

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

ProcessNavigationRemoved(IConventionEntityTypeBuilder, IConventionEntityTypeBuilder, String, MemberInfo, IConventionContext<String>)

ナビゲーションがエンティティ型から削除された後に呼び出されます。

ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

プロパティがエンティティ型に追加された後に呼び出されます。

ProcessPropertyRemoved(IConventionTypeBaseBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

プロパティがエンティティ型から削除された後に呼び出されます。

ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, IConventionContext<IConventionSkipNavigationBuilder>)

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

ProcessSkipNavigationRemoved(IConventionEntityTypeBuilder, IConventionSkipNavigation, IConventionContext<IConventionSkipNavigation>)

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

適用対象