Top "Linq-to-entities" questions

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

LINQ to Entities case sensitive comparison

This isn't a case-sensitive comparison in LINQ to Entities: Thingies.First(t => t.Name == "ThingamaBob"); How can I achieve …

c# .net entity-framework-4 linq-to-entities
The specified type member 'Date' is not supported in LINQ to Entities Exception

I got a exception while implementing the following statements. DateTime result; if (!DateTime.TryParse(rule.data, out result)) return jobdescriptions; …

entity-framework linq-to-entities
How do you construct a LINQ to Entities query to load child objects directly, instead of calling a Reference property or Load()

I'm new to using LINQ to Entities (or Entity Framework whatever they're calling it) and I'm writing a lot of …

c# linq linq-to-entities
The entity or complex type ' ' cannot be constructed in a LINQ to Entities query

Possible Duplicate: The entity cannot be constructed in a LINQ to Entities query var tasks = from i in data.Incidents …

c# linq-to-entities
The right way to insert multiple records to a table using LINQ to Entities

As many of us have done, I set up a simple loop to add multiple records from a databse. A …

c# entity-framework ado.net linq-to-entities
The type of one of the expressions in the join clause is incorrect in Entity Framework

While trying to execute this query: var query = from dpr in ctx.DPR_MM join q in ctx.QOT on …

c# linq entity-framework join linq-to-entities
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
Sequence contains more than one element - SingleOrDefault not helping

I have the line below but still get an exception "Sequence contains more than one element" Details rd = this.db.…

c# c#-4.0 linq-to-entities
'Date' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported

I am trying to execute the following code and am receiving an error public List<Log> GetLoggingData(DateTime …

c# entity-framework linq linq-to-entities
Linq int to string

how do I cast and int into a string? None of the following do works: from s in ctx.Services …

.net linq linq-to-entities