Language

DbSetFindingConvention クラス

定義

派生DbContext クラスで定義されたDbSet<TEntity> プロパティに基づいてエンティティ型を追加する規則。

[System.Runtime.CompilerServices.Nullable(0)]
public class DbSetFindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
public class DbSetFindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type DbSetFindingConvention = class
    interface IModelInitializedConvention
    interface IConvention
type DbSetFindingConvention = class
    interface IModelInitializedConvention
    interface IConvention
Public Class DbSetFindingConvention
Implements IModelInitializedConvention
継承
DbSetFindingConvention
属性
実装

注釈

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

コンストラクター

Name 説明
DbSetFindingConvention(ProviderConventionSetBuilderDependencies)

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

プロパティ

Name 説明
Dependencies

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

メソッド

Name 説明
ProcessModelInitialized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

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

適用対象