次の方法で共有


ContextContainerConvention クラス

定義

既定のコンテナー名をコンテキストの種類名として構成する規則。

public class ContextContainerConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
type ContextContainerConvention = class
    interface IModelInitializedConvention
    interface IConvention
Public Class ContextContainerConvention
Implements IModelInitializedConvention
継承
ContextContainerConvention
実装

注釈

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

コンストラクター

ContextContainerConvention(ProviderConventionSetBuilderDependencies)

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

プロパティ

Dependencies

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

メソッド

ProcessModelInitialized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

モデルの初期化後に呼び出されます。

適用対象