Jazyk

DbContextModelAttribute(Type, Type) Konstruktor

Definice

Inicializuje novou instanci DbContextAttribute třídy.

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)

Parametry

contextType
Type

Přidružený kontext.

modelType
Type

Zkompilovaný model.

Platí pro