Bahasa

DbContextModelAttribute(Type, Type) Konstruktor

Definisi

Menginisialisasi instans baru dari kelas 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)

Parameter

contextType
Type

Konteks terkait.

modelType
Type

Model yang dikompilasi.

Berlaku untuk