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.

Code First Migration with Connection Strings

So I've managed to get Code First running and it works great. Since I am still developing the application the …

ef-code-first code-first entity-framework-migrations
Entity Framework Code First Using Guid as Identity with another Identity Column

a.k.a How can we create multiple identity columns in Code First? Because of clustering performance, a common recommendation …

entity-framework ef-code-first entity-framework-5 entity-framework-migrations
Debug code-first Entity Framework migration codes

I'm using Entity Framework code first in my website and I'm just wondering if there is any way to debug …

entity-framework ef-code-first entity-framework-5 entity-framework-migrations
AutomaticMigrationsEnabled false or true?

In EF projects, Is there any best practice for setting AutomaticMigrationsEnabled ? More declaration: In our team after modifying a model …

entity-framework entity-framework-4 entity-framework-migrations
Automatic Migrations for ASP.NET SimpleMembershipProvider

So I tried to use automatic migrations with my new MVC 4 Project but somehow it isn't working. I followed this …

asp.net-mvc-4 entity-framework-5 entity-framework-migrations
Possible to default DateTime field to GETDATE() with Entity Framework Migrations?

I added EntityFramework.Migrations (Beta 1) to an existing Code-First app that is going through some changes (for both migration capabilities …

entity-framework-4 ef-code-first entity-framework-migrations
How to create database using code first migrations?

I'm having ASP.NET MVC 3 project that uses Entity Framwork 4.3 and its migrations. Now I want Entity Framework to create …

entity-framework entity-framework-4.3 entity-framework-migrations
Code-first migration: How to set default value for new property?

I am using EF6 for storing instances of the report class in my database. The database already contains data. Say …

c# .net entity-framework entity-framework-6 entity-framework-migrations
EntityFramework code-first custom connection string and migrations

When I create a context with a default connection string (as read from the app.config) the database is created …

entity-framework ef-code-first connection-string entity-framework-migrations