Share via


DatabaseFacade(DbContext) Constructor

Definition

Initializes a new instance of the DatabaseFacade class. Instances of this class are typically obtained from Database and it is not designed to be directly constructed in your application code.

public DatabaseFacade (Microsoft.EntityFrameworkCore.DbContext context);
new Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade : Microsoft.EntityFrameworkCore.DbContext -> Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade
Public Sub New (context As DbContext)

Parameters

context
DbContext

The context this database API belongs to.

Applies to