Dil

DbContextModelAttribute(Type, Type) Oluşturucu

Tanım

DbContextAttribute sınıfının yeni bir örneğini başlatır.

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)

Parametreler

contextType
Type

İlişkili bağlam.

modelType
Type

Derlenen model.

Şunlara uygulanır