Top "Entity-framework-5" questions

The ADO.

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
Check if there are any pending changes to be saved

Is there a way to find out whether there are unsaved changes in my entity context, in the Entity Framework?

entity-framework entity-framework-4 entity-framework-5 entity-framework-6
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
How turn off pluralize table creation for Entity Framework 5?

I am trying to use Entity Framework 5. The first problem was that EF creats tables automatically. I tried to fix …

c# entity-framework-5 pluralize
How to "warm-up" Entity Framework? When does it get "cold"?

No, the answer to my second question is not the winter. Preface: I've been doing a lot of research on …

asp.net asp.net-mvc entity-framework asp.net-mvc-4 entity-framework-5
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
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
Entity Framework 6 Error Unable to load the specified metadata resource

I'm using Entity Framework 6 and "model first" in my solution, I separated my "Data Model" classes into another project, so …

c# entity-framework entity-framework-4 entity-framework-5 entity
Entity Framework 5 Multiple identity columns specified for table. Only one identity column per table is allowed

I am creating this model as part of my code first entity framework public class NewUserRegistration { [Key] public int NewUserRegistrationId { …

c#-4.0 entity-framework-5