Idioma

DbContextModelAttribute(Type, Type) Construtor

Definição

Inicializa uma nova instância da classe 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)

Parâmetros

contextType
Type

O contexto associado.

modelType
Type

O modelo compilado.

Aplica-se a