Top "Entity-framework-6" questions

For questions about the The ADO.

Entity DataSource not working with Entity Framework 6 Upgrade

I recently upgraded our Webforms application from EF 4.4 to EF6 and I got so many compile time build errors with …

entity-framework entity-framework-6 entitydatasource
Should I use an int or a long for the primary key in an entity framework model

I am writing an MVC5 Internet application and I have a question about the id field for a model. Should …

c# model int primary-key entity-framework-6
Resolving 'No key Defined' errors while using OnModelCreating with ApplicationDbContext?

I've been trying to create navigation properties for my collection types and I found this example of how one person …

c# asp.net-mvc-5 entity-framework-6 ef-model-builder
Entity Framework query performance differs extrem with raw SQL execution

I have a question about Entity Framework query execution performance. Schema: I have a table structure like this: CREATE TABLE […

c# sql-server entity-framework sql-server-2008 entity-framework-6
Updatable Views in Entity Framework 5/6

I have several Views that are updatable according to http://technet.microsoft.com/en-us/library/ms187956.aspx. All of my …

c# entity-framework-5 entity-framework-6
does Visual Studio 2015 include .edmx support?

Does Visual Studio 2015 include .edmx support? I have a project that includes an .edmx data model and double-clicking it in …

entity-framework entity-framework-6 visual-studio-2015 edmx edmx-designer
Entity Framework 6 Update Graph

What is the correct way to save a graph of objects whose state you don't know? By state I mean …

c# entity-framework entity-framework-6 sql-server-ce-4
Creating Asp.net Identity user in Seed method of Db Initializer

I have created my data layer with EF 6 code first and I am populating the db through Seed method of …

entity-framework entity-framework-6 asp.net-identity asp.net-identity-2
Using INotifyPropertyChanged with Entity Framework 6 DbContext Generator

I know I can use ObjectContext instead, but I like the features of DbContext / DbSet. My application isn't large enough …

entity-framework-6 dbcontext inotifypropertychanged
Why there's no AddRange/RemoveRange method in IDbSet interface in Entity 6?

In Entity Framework 6 AddRange method has been introduced. It's great for big inserts because DbSet.Add method always trigger DetectChanges …

c# entity-framework entity-framework-6