Skip to content

Creating DbContext requires overriding OnConfiguring method #63

@kalintsenkov

Description

@kalintsenkov

CreateDbContext method uses Activator.CreateInstance to create the DbContext, which requires an empty constructor and overriding OnConfiguring method.

image

It will be much better to use DbContextOptions when creating the DbContext.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions