Top "Entity-framework-4" questions

A tag for ADO.

ASP.NET MVC / EF4 / POCO / Repository - How to Update Relationships?

I have a 1..* relationship between Review and Recommendations. The relevant portion of my model (which is also the POCO mapped …

asp.net-mvc entity-framework-4 repository poco
Entity Framework: Where do I extend the CSDL/MSL?

I'm using Entity Framework 4. I am using a database first model, meaning that I generated the EDM from the database. …

entity-framework-4 edmx
Can I access the discriminator value in TPH mapping with Entity Framework 4 CTP5

Using Entity Framework 4 CTP5 Code First and this example Is it possible to access the discriminator value? I would like …

entity-framework-4 code-first entity-framework-ctp5
Entity Framework 4: Does it make sense to create a single diagram for all entities?

I wrote a few assumptions regarding Entity Framework, then a few questions (so please correct where I am wrong). I …

entity-framework-4 poco ado.net-entity-data-model
Reducing Repositories to Aggregate Roots

I currently have a repository for just about every table in the database and would like to further align myself …

c# asp.net entity-framework entity-framework-4 domain-driven-design
The 'DbProviderFactories' section can only appear once per config file

We are receiving this error when calling a WCF .net 4.0 service using entity framework. The 'DbProviderFactories' section can only appear …

wcf iis-7 entity-framework-4 machine.config
XML data type in EF 4.1 Code First

I would like to use SQL Server xml type as a column type for an entity class. According to this …

entity-framework entity-framework-4 ef-code-first ef4-code-only xml-column
Using "Include foreign key column in the model" option in EF wizard

Do you mostly use this option (the default is checked) or do you uncheck it? I found out that when …

entity-framework entity-framework-4 conceptual-model
EF4 Cast DynamicProxies to underlying object

I'm using Entity Framework 4 with POCO template. I have a List where MyObject are dynamic proxies. I want to use …

c# serialization entity-framework-4 poco
Entity Framework Update - The context is not currently tracking the entity

I am trying to update an entity but I am getting the following error: The context is not currently tracking …

entity-framework-4 objectcontext