Top "Entity-framework-4" questions

A tag for ADO.

Using Include in Entity Framework 4 with lambda expressions

I've seen many articles about how to overcome this matter, all related to CTP4, Or adding my own extension methods. …

c# entity-framework-4 lambda
Entity Framework 4 Single() vs First() vs FirstOrDefault()

I'm having a devil of a time finding a comparison of the different ways to query for a single item, …

.net linq entity-framework entity-framework-4 linq-to-entities
Entity Framework/Linq to SQL: Skip & Take

Just curious as to how Skip & Take are supposed to work. I'm getting the results I want to see …

c# .net linq-to-sql sql-server-2008 entity-framework-4
What's the difference(s) between .ToList(), .AsEnumerable(), AsQueryable()?

I know some differences of LINQ to Entities and LINQ to Objects which the first implements IQueryable and the second …

entity-framework entity-framework-4 linq-to-entities entity-framework-5
LINQ to Entities case sensitive comparison

This isn't a case-sensitive comparison in LINQ to Entities: Thingies.First(t => t.Name == "ThingamaBob"); How can I achieve …

c# .net entity-framework-4 linq-to-entities
EF Code First: How do I see 'EntityValidationErrors' property from the nuget package console?

I'm at a loss for this: I've defined my classes for a entity framework (4.1.3) code first approach. Everything was fine (…

asp.net-mvc-3 entity-framework entity-framework-4 nuget
EF Code First giving me error Cannot insert explicit value for identity column in table 'People' when IDENTITY_INSERT is set to OFF.

I'm trying out Entity Framework 4's Code First (EF CodeFirst 0.8) and am running into a problem with a simple model …

entity-framework entity-framework-4
Entity Framework - Add Navigation Property Manually

I generated an Entity Framework Model (4.0) from my database. I did not design the database and do not have any …

c# entity-framework entity-framework-4 navigation-properties
Entity Framework 4 mapping fragment error when adding new entity scalar

I have an Entity Framework 4 model-first design. I create a first draft of my model in the designer and all …

.net entity-framework entity-framework-4
How should I remove all elements in a DbSet?

What's the best way to remove all elements in a System.Data.Entity.DbSet, with Entity Framework 4.3?

c# .net entity-framework-4