Language

DbContextModelAttribute(Type, Type) コンストラクター

定義

DbContextAttribute クラスの新しいインスタンスを初期化します。

public DbContextModelAttribute(Type contextType, Type modelType);
new Microsoft.EntityFrameworkCore.Infrastructure.DbContextModelAttribute : Type * Type -> Microsoft.EntityFrameworkCore.Infrastructure.DbContextModelAttribute
Public Sub New (contextType As Type, modelType As Type)

パラメーター

contextType
Type

関連付けられたコンテキスト。

modelType
Type

コンパイル済みモデル。

適用対象