Язык

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

Скомпилированная модель.

Применяется к