Top "Entity-framework-4" questions

A tag for ADO.

Creating dynamic queries with entity framework

I would like to know what is the best way of creating dynamic queries with entity framework and linq. I …

c# linq entity-framework entity-framework-4
EF Including Other Entities (Generic Repository pattern)

I am using the Generic Repository pattern on top of Entity Framework Code First. Everything was working fine until I …

c# entity-framework entity-framework-4 repository-pattern ef-code-first
Entity Framework 4: Selecting Single Record

I'm currently planning on switching my "manual query-writing" code to a nice SQL framework, so I can leave the queries …

entity-framework select entity-framework-4 record
Expression cannot contain lambda expressions

I have fetched the List<> object as below (with .Include()): List<vDetail> entityvDetails = context.vDetails .Include("…

c# linq entity-framework entity-framework-4 lambda
How to specify database name in Code First?

How do I tell EF what to name the database and where to put it? If there is no connection …

entity-framework-4 ef-code-first
Most efficient method of self referencing tree using Entity Framework

So I have a SQL table which is basically ID, ParentID, MenuName, [Lineage, Depth] The last two columns are auto-computed …

c# asp.net-mvc entity-framework-4
Entity Framework 4 / POCO - Where to start?

I've been programming for a while and have used LINQ-To-SQL and LINQ-To-Entities before (although when using entities it has been …

entity-framework entity-framework-4 linq-to-entities poco
How to make Entity Framework Data Context Readonly

I need to expose an Entity Framework Data Context to 3rd party plugins. The purpose is to allow these plugins …

.net entity-framework entity-framework-4 datacontext readonly
EF Mapping and metadata information could not be found for EntityType Error

I have encountered an exception when I use Entity Framework 4.0 RC. My Entity Framework model is encapsulated in a private …

entity-framework mapping entity-framework-4 metadata