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 migration and seeding specific update

does anyone know how you can seed a specific update using EF 5 migrations? I have existing database, alredy has lookups …

entity-framework-5 entity-framework-migrations seeding
ASP.NET MVC 4, Migrations - How to run 'update-database' on a production server

I can use package manager to run 'update-database -verbose' locally. Probably a stupid question but I can't find it online …

asp.net-mvc entity-framework asp.net-mvc-4 entity-framework-5 entity-framework-migrations
EF5 Code First - Changing A Column Type With Migrations

I am new to EF5 Code First and I'm tinkering with a proof-of-concept before embarking on a project at work. …

c# ef-code-first entity-framework-5 entity-framework-migrations
NuGet Package Manager Console Default Project dropdown is empty

I recently upgraded to Visual Studio 2012 RTM Ultimate from MSDN. I'm using EF Code First Migrations to build my database …

nuget visual-studio-2012 entity-framework-migrations entity-framework-5
Best way to incrementally seed data in Entity Framework 4.3

I have been using Entity Framework 4.3 on an existing database and I have a couple of scenarios that I am …

entity-framework entity-framework-migrations entity-framework-4.3
Entity Framework Code First Migrations: Set Primary Key Value

I have a table that stores some extra data for some rows of a table like: public class QuoteExtra { [Key] …

ef-code-first primary-key entity-framework-5 entity-framework-migrations
Add database trigger with Entity Framework Code First Migrations

I use Entity Framework Migrations for code first to control my database model. It works charming and I can handle …

.net entity-framework entity-framework-migrations
Is it OK to update a production database with EF migrations?

According to this blog post most companies using EF Migrations are supposedly not updating the database schema of production databases …

c# entity-framework database-schema entity-framework-migrations
Cannot enable migrations for Entity Framework in class library

I just got on board with EF 5 and am using their code-first migrations tool but I seem to get an …

c# entity-framework ef-code-first entity-framework-5 entity-framework-migrations