Top "Entity-framework" questions

Entity Framework is a LINQ-based object-database mapper for .NET.

Code-first vs Model/Database-first

What are the pros & cons of using Entity Framework 4.1 Code-first over Model/Database-first with EDMX diagram? I'm trying to …

entity-framework ef-code-first entity-framework-4.1 poco ef-database-first
How to compare only Date without Time in DateTime types in Linq to SQL with Entity Framework?

Is there a way to compare two DateTime variables in Linq2Sql but to disregard the Time part. The app …

c# .net database entity-framework linq-to-sql
Insert data using Entity Framework model

I'm trying to insert some data in my database using Entity Framework model, but for some unknown reasons to me, …

c# .net entity-framework
Entity Framework Timeouts

I am getting timeouts using the Entity Framework (EF) when using a function import that takes over 30 seconds to complete. …

c# asp.net entity-framework entity-framework-4 connection-string
Entity framework linq query Include() multiple children entities

This may be a really elementry question but whats a nice way to include multiple children entities when writing a …

linq entity-framework lazy-loading
EntityType has no key defined error

Controller: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using MvcApplication1.Models; …

c# .net entity-framework
Entity Framework Provider type could not be loaded?

I am trying to run my tests on TeamCity which is currently installed on my machine. System.InvalidOperationException: The Entity …

c# entity-framework mstest teamcity-7.1 entity-framework-6
Using Transactions or SaveChanges(false) and AcceptAllChanges()?

I have been investigating transactions and it appears that they take care of themselves in EF as long as I …

c# entity-framework transactions
The type or namespace name 'DbContext' could not be found

I am VERY new to ASP.NET MVC (3) and am having a hard time resolving a build error in Visual …

asp.net-mvc visual-studio-2010 asp.net-mvc-3 visual-studio entity-framework
Entity Framework vs LINQ to SQL

Now that .NET v3.5 SP1 has been released (along with VS2008 SP1), we now have access to the .NET entity …

.net entity-framework linq-to-sql