Top "Entity-framework-migrations" questions

Migrations is a feature of Entity Framework that provides for detecting changes to a code(or database)-first model, and upgrading the database (or the model) schema based on those changes.

Entity Framework Migrations renaming tables and columns

I renamed a a couple entities and their navigation properties and generated a new Migration in EF 5. As is usual …

c# sql-server entity-framework entity-framework-5 entity-framework-migrations
EF Core add-migration Build Failed

I have a developer that is getting "Build failed." when running add-migration in a .NET Core EF project, with no …

.net entity-framework asp.net-core .net-core entity-framework-migrations
The term 'Update-Database' is not recognized as the name of a cmdlet

I am using EF5 beta1 and while I was able to run the "Update-Database" before. Now that I shut down …

entity-framework ef-code-first entity-framework-migrations entity-framework-5
Entity Framework - Start Over - Undo/Rollback All Migrations

For some reason, my migrations appear to have been jumbled/corrupted/whatever. I'm at the point where I just want …

entity-framework entity-framework-4.3 entity-framework-migrations
EF CodeFirst: Either the parameter @objname is ambiguous or the claimed @objtype (COLUMN) is wrong

I've a table named EducationTypes and an Entity named EducationType, I renamed one of entity properties, now I'm frequently getting …

c# entity-framework ef-code-first entity-framework-migrations
update the database from package manager console in code first environment

Code First Environment I'm trying to update the database from package Manager console.If my Domain class change, I have …

c# sql-server visual-studio-2012 entity-framework-6 entity-framework-migrations
How can I disable migration in Entity Framework 6.0

I'm trying to ignore the "Automatic" migration using Entity Framework 6.0 rc1. My problem is that I don't want this feature …

entity-framework entity entity-framework-migrations
MVC 5 Seed Users and Roles

I have been playing about with the new MVC 5, I have a few models, controller and views setup using code …

asp.net-mvc asp.net-mvc-5 entity-framework-migrations seeding
How do I undo the last Add-Migration command?

I have created a migration using the Add-Migration command, but I'd like to change the name of that migration. How …

entity-framework entity-framework-5 entity-framework-migrations
How to disable migration in Entity Framework 4.3.1?

Is there any way to disable migration in Entity Framework 4.3.1? I removed the migrations folder from the project and the …

code-first entity-framework-migrations entity-framework-4.3