Share via


DbContextAttribute(Type) Constructor

Definition

Initializes a new instance of the DbContextAttribute class.

public DbContextAttribute (Type contextType);
new Microsoft.EntityFrameworkCore.Infrastructure.DbContextAttribute : Type -> Microsoft.EntityFrameworkCore.Infrastructure.DbContextAttribute
Public Sub New (contextType As Type)

Parameters

contextType
Type

The associated context.

Applies to