Skip to content

dotnet ef migration script command does not work after removal of designer files #5

@CrossEyedHollow

Description

@CrossEyedHollow

Installed and used with default settings. After building project, Designer.cs files are removed and Script-Migration (NPM) command crashes with the following error:
There is no entity type mapped to the table 'TableName' which is used in a data operation. Either add the corresponding entity type to the model, or specify the column types in the data operation.
Reverting to the commit where the designer file still exists fixes the issue.

image_2024-02-15_140251008

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