Top "Linq-to-entities" questions

This tag is for questions about LINQ to Entities, which means LINQ queries using the ADO.

Instantiating a context in LINQ to Entities

I've seen two different manners that programmers approach when creating an entity context in their code. The first is like …

linq entity-framework linq-to-entities entity
How to tell if an IEnumerable<T> is subject to deferred execution?

I always assumed that if I was using Select(x=> ...) in the context of LINQ to objects, then the …

c# linq linq-to-entities
Linq to entities Left Join

I want to achieve the following in Linq to Entities: Get all Enquires that have no Application or the Application …

linq linq-to-entities left-join outer-join
Entity Framework Dynamic DbSet for all entities

I have a database mapped with Entity Framework, I need to implement a generic method for getting a a list …

linq-to-entities entity-framework-5 dynamic-data auto-generate
MERGE in Entity Framework

Is there a way to call T-Sql's MERGE command from .NET Entity framework 4?

c# linq entity-framework linq-to-entities sql-merge
The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must be called before the method 'Skip'

I am working on a Dynamic data. after creating a dynamic model and registering in global.asax, like DefaultModel.RegisterContext(…

exception entity-framework-4 linq-to-entities dynamic-data
Inserting NULL into DataTable

Morning (in RSA at least), I'm trying to create a data driven menu, using data from a self-referencing table to …

c# asp.net linq-to-entities datatable datarelation
ASP.NET EntityDataSource WHERE Clause

I am new to ASP.NET and could use some help writing a where clause for my EntityDataSource. I have …

c# asp.net linq-to-entities where-clause entitydatasource
Get dynamic OrderBy in LINQ

I am using datatables in quite a few pages in my ASP.NET MVC 3 site. They use server side paging …

c# linq entity-framework linq-to-entities dynamic-linq
LINQ to EF left join with multiple condition

I am trying to replicate the following SQL using LINQ to EF but with no luck. select * from Role left …

linq-to-entities left-join multiple-conditions