Top "Entity-framework-4" questions

A tag for ADO.

Validation failed for one or more entities. See 'EntityValidationErrors' property for more details

I am having this error when seeding my database with code first approach. Validation failed for one or more entities. …

c# entity-framework entity-framework-4 entity-framework-4.1
There is already an open DataReader associated with this Command which must be closed first

I have this query and I get the error in this function: var accounts = from account in context.Accounts from …

c# entity-framework entity-framework-4
Entity Framework Join 3 Tables

I'm trying to join three tables but I can't understand the method... I completed join 2 tables var entryPoint = dbContext.tbl_…

c# entity-framework entity-framework-4 entity-framework-5 entity-framework-4.1
EF Migrations: Rollback last applied migration?

This looks like a really common task, but I can't find an easy way to do it. I want to …

entity-framework entity-framework-4 database-migration entity-framework-migrations
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
The model backing the <Database> context has changed since the database was created

The error message : "The model backing the 'AddressBook' context has changed since the database was created. Either manually delete/update …

.net entity-framework-4 code-first
Introducing FOREIGN KEY constraint may cause cycles or multiple cascade paths - why?

I've been wrestling with this for a while and can't quite figure out what's happening. I have a Card entity …

.net entity-framework foreign-keys ef-code-first entity-framework-4
How to update only one field using Entity Framework?

Here's the table Users UserId UserName Password EmailAddress and the code.. public void ChangePassword(int userId, string password){ //code to …

sql entity-framework-4 entity field dbcontext
LEFT JOIN in LINQ to entities?

I'm trying out LINQ to entities. I have a problem with the following: I want it to do this: SELECT …

c# linq entity-framework entity-framework-4 linq-to-entities
The object 'DF__*' is dependent on column '*' - Changing int to double

Basically I got a table in my EF database with the following properties: public int Id { get; set; } public string …

sql sql-server database entity-framework entity-framework-4