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.

EF Data migrations won't detect changes when adding new migration

I am using Entity Framework 5.0 Data migrations along with code first. When i add a new field to my model …

entity-framework entity-framework-migrations
LINQ to Entities does not recognize the method 'System.String ToString()' method in MVC 4

I'm working with MVC 4 and I have to update my database using Code First Migrations. What I'm trying to do …

c# asp.net asp.net-mvc asp.net-mvc-4 entity-framework-migrations
Multiple DB Contexts in the Same DB and Application in EF 6 and Code First Migrations

I'm new to Entity Framework. I am trying to setup an MVC Application what uses EF 6. I am using Code …

asp.net-mvc entity-framework ef-code-first entity-framework-migrations
Enable Migrations with Context in Separate Assembly?

I have one project that I want to run my update-database against but I have my Models and Context in …

c# .net entity-framework asp.net-mvc-4 entity-framework-migrations
Add migration with different assembly

I am working on a project with ASP.NET CORE 1.0.0 and I am using EntityFrameworkCore. I have separate assemblies and …

c# asp.net-core entity-framework-core entity-framework-migrations
EF migration for changing data type of columns

I have a Model in my project as below: public class Model { public int Id { get; set; } public long FromNo { …

c# visual-studio entity-framework entity-framework-5 entity-framework-migrations
How to explicitly name the database when using Entity Framework Migrations 4.3

I've recently started using Entity Framework migrations and noticed that the database name is not pulling through for me when …

entity-framework entity-framework-migrations
Using Entity Framework (code first) migrations in production

I'm just looking into using EF migrations for our project, and in particular for performing schema changes in production between …

.net entity-framework ef-code-first entity-framework-migrations
Can you create sql views / stored procedure using Entity Framework 4.1 Code first approach

Entity Framework 4.1 Code First works great creating tables and relationships. Is it possible to create sql views or stored procedure …

c# entity-framework-4.1 entity-framework-migrations code-first
C# Code-First migration, up/down?

Started to use the add-migration command in the package manager console to generate the migrations for my model. My question …

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