Asp conenction error when the database is updating

Specifies the name of a particular migration to update the database to. Generate a SQL script rather than executing the pending changes directly.Specifies that data loss is acceptable during automatic migration of the database.

Use this parameter instead of Context Project Name when the context is contained in a referenced assembly rather than in a project of the solution.

If omitted, the default project selected in package manager console is used.

Specifies the configuration file to use for named connection strings.

If the database is still incompatible with the model the additional changes required are applied as an separate automatic migration step if automatic migrations are enabled.

If automatic migrations are disabled an error message is shown.

Leave a Reply