Language

CosmosInversePropertyAttributeConvention クラス

定義

他のナビゲーション プロパティで指定された InversePropertyAttribute に基づいて逆ナビゲーション プロパティを構成する規則。 すべてのナビゲーションは、Cosmos の所有エンティティ型を対象とするものと見なされます。

[System.Runtime.CompilerServices.Nullable(0)]
public class CosmosInversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.InversePropertyAttributeConvention
public class CosmosInversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.InversePropertyAttributeConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type CosmosInversePropertyAttributeConvention = class
    inherit InversePropertyAttributeConvention
type CosmosInversePropertyAttributeConvention = class
    inherit InversePropertyAttributeConvention
Public Class CosmosInversePropertyAttributeConvention
Inherits InversePropertyAttributeConvention
継承
属性

注釈

詳細と例については、「モデルの構築規則」および「EF Core を使用したAzure Cosmos DBへのアクセス」を参照してください。

コンストラクター

Name 説明
CosmosInversePropertyAttributeConvention(ProviderConventionSetBuilderDependencies)

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

プロパティ

Name 説明
Dependencies

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

(継承元 NavigationAttributeConventionBase<TAttribute>)

メソッド

Name 説明
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityTypeBuilder>)

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

(継承元 InversePropertyAttributeConvention)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)

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

(継承元 InversePropertyAttributeConvention)
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityType>)

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

(継承元 InversePropertyAttributeConvention)
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, InversePropertyAttribute, IConventionContext<String>)

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

(継承元 InversePropertyAttributeConvention)
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<String>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

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

(継承元 InversePropertyAttributeConvention)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityType>)

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

(継承元 InversePropertyAttributeConvention)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IEnumerable<TAttribute>, IEnumerable<TAttribute>, IConventionContext<IConventionForeignKeyBuilder>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

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

(継承元 InversePropertyAttributeConvention)
ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionNavigationBuilder, InversePropertyAttribute, IConventionContext<IConventionNavigationBuilder>)

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

(継承元 InversePropertyAttributeConvention)
ProcessNavigationAdded(IConventionNavigationBuilder, TAttribute, IConventionContext<IConventionNavigationBuilder>)

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

(継承元 NavigationAttributeConventionBase<TAttribute>)
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>)
TryGetTargetEntityTypeBuilder(IConventionEntityTypeBuilder, Type, MemberInfo, Boolean)

特定のナビゲーション メンバーのエンティティ型ターゲットを検索または作成しようとします。

適用対象