Top "Entity-framework-4" questions

A tag for ADO.

What is the purpose of .edmx files?

What is the purpose of .edmx files? Reading the CSDL, SSDL, and MSL specifications, it looks to me like .edmx …

entity-framework entity-framework-4 linq-to-entities ssms
How to Refresh DbContext

I want to refresh all entities of my DbContext without recreating it, I tried the following and none of them …

c# entity-framework entity-framework-4 refresh dbcontext
How to handle ObjectResult in Entity Framework 4

In Entity Framework 4, I'm facing a problem when I use function import to a stored procedure and then using as …

c# entity-framework-4
References for DBContext, DBSet<> in Entity Framework

I am trying to use ADO.Net Codefirst feature of latest Entity Framework 4.0. As part of that I have installed …

c# .net entity-framework entity-framework-4 ado.net-entity-data-model
Entity Framework creates a plural table name, but the view expects a singular table name?

I am using MySQL .net connector 6.4.4.0 and Entity Frame work 4.1 and trying to create the most basic of code-first implementations. …

c# mysql entity-framework-4 ef-code-first asp.net-mvc-4
How do I correctly set an association between two objects in the Entity Framework 4 Entitydesigner?

For a new project I'm trying to create my business classes first and create the real database tables later. Therefore …

c# asp.net entity-framework-4
Entity Framework Code First Fluent Api: Adding Indexes to columns

I'm running EF 4.2 CF and want to create indexes on certain columns in my POCO objects. As an example lets …

c# entity-framework-4 ef-code-first data-annotations fluent-interface
Annotating properties on a model with default values

I created an EF4.1 code-first model (may or may not be important), and I'm trying to get default values for …

asp.net-mvc-3 entity-framework-4 data-annotations
Entity Framework Include() is not working

I have the following EF query: TestEntities db = new TestEntities(); var questions = from q in db.Questions.Include("QuestionType") from …

c# entity-framework entity-framework-4
Multiple SaveChanges calls in entity framework

I am building my own custom repository, based on entity framework, and I'm creating some extension methods that allow me …

entity-framework-4 transactions transactionscope