Top "Entity-framework-4" questions

A tag for ADO.

Why am I getting this error: No mapping specified for the following EntitySet/AssociationSet - Entity1?

I'm using Entity Framework 4 with the Model First approach. I started the project, designed the entities and generated the database. …

.net entity-framework entity-framework-4
The property 'Id' is part of the object's key information and cannot be modified

i'm using Entity Framework 4.0 and having a silly problem that i can't figure out. I have two tables: Contact: Id (…

c# foreign-keys entity-framework-4
LINQ to Entities how to update a record

Okay, so I'm new to both EF and LINQ. I have figured out how to INSERT and DELETE but for …

c# linq entity-framework entity-framework-4 linq-to-entities
How to include a child object's child object in Entity Framework 5

I am using Entity Framework 5 code first and ASP.NET MVC 3. I am struggling to get a child object's child …

entity-framework entity-framework-4 entity-framework-5 entity-framework-4.1
How should I edit an Entity Framework connection string?

I recently had to edit my app.config file to change the connection string for an Entity Framework data model (.…

entity-framework entity-framework-4 connection-string app-config
Entity framework self referencing loop detected

I have a strange error. I'm experimenting with a .NET 4.5 Web API, Entity Framework and MS SQL Server. I've already …

c# serialization entity-framework-4 asp.net-web-api
The specified type member is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported

var result = (from bd in context.tblBasicDetails from pd in context.tblPersonalDetails.Where(x => x.UserId == bd.UserId).DefaultIfEmpty() …

entity-framework-4 linq-to-entities
The result of a query cannot be enumerated more than once

I am using the entity framework (ef) and am getting the following error: "The result of a query cannot be …

c# asp.net linq entity-framework entity-framework-4
What effect(s) can the virtual keyword have in Entity Framework 4.1 POCO Code First?

Does the virtual keyword has an effect when used on the properties in EF Code First?. Can someone describe all …

entity-framework-4 ef-code-first entity-framework-4.1