Top "Entity-framework-6" questions

For questions about the The ADO.

Save detached entity in Entity Framework 6

I've read through LOTS of posts on saving a detached entity in Entity Framework. All of them seem to apply …

c# entity-framework entity-framework-6
EF Code-First One-to-one relationship: Multiplicity is not valid in Role * in relationship

I'm attempting to do the following: public class class1 { public int Id {get;set;} [ForeignKey("Class2")] public int Class2Id {…

c# database entity-framework ef-code-first entity-framework-6
Async PartialView causes "HttpServerUtility.Execute blocked..." exception

I have a partial view that tries to retrieve a IEnumerable<Post> from the database using async... Method …

c# asp.net-mvc entity-framework asp.net-mvc-5 entity-framework-6
Is it possible to set a unique constraint using Entity Framework Code First?

I want to enforce Unique constraint in a table & I am using Entity Framework Code-First. Is it possible to …

asp.net-mvc entity-framework entity-framework-5 entity-framework-6
Why is Entity Framework 6.1.3 throwing a "Could not load type 'System.Data.Entity.Infrastructure.TableExistenceChecker'"

Brand new project and entity framework will not start due to the exception being thrown as soon as the context …

c# .net entity-framework entity-framework-6
How can I delete 1,000 rows with EF6?

I am using Entity Framework 6. I have a table with test information called Tests. I am deleting rows from this …

entity-framework entity-framework-6
Log Queries executed by Entity Framework DbContext

I'm using EF 6.0 with LINQ in MVC 5 project. I want to log all the SQL queries executed by the Entity …

c# linq entity-framework asp.net-mvc-5 entity-framework-6
Does Entity Framework 6 support .NET 4.0?

I believe Entity Framework 6 is intended for .NET 4.5. I'm wanting to use it for a Visual Studio 2010 project, so .NET 4.5 …

.net-4.0 entity-framework-6
Updating records using a Repository Pattern with Entity Framework 6

I'm writing a simple blog application and trying to establish CRUD operations in my generic repository pattern but I'm getting …

c# asp.net-mvc-5 entity-framework-6 asp.net-identity repository-pattern