Lenguaje

DbContextModelAttribute(Type, Type) Constructor

Definición

Inicializa una nueva instancia de la clase 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

Contexto asociado.

modelType
Type

Modelo compilado.

Se aplica a