LINQ to Entities

Resources by common categories

Rating
 

A LINQ to Entities Starting Point

Posted by GeorgeH on September 13, 2011

LINQ to Entities LINQ to Entities provides Language-Integrated Query (LINQ) support that enables developers to write queries against the Entity Framework... [read more]

Rating

GroupBy then Take in LINQ to Entities?

Posted by Programmer's Goodies on November 22, 2011

Let’s say I have the following items: ID Category Name1 Fruit Banana 2 Car Mescedes 3 Fruit Blackberry 4 Fruit Mango 5 Car Lexus 6 Fruit Melon 7 Car BMW 8 Car... [read more]

Rating

LINQ to Entities integer division incorrect?

Posted by Programmer's Goodies on October 2, 2011

I’m trying to do a little partitioning, dividing list entries into 6-month blocks. Using this LINQ to Entities query, I get results that imply that integer di... [read more]

Rating

Linq to entities does not recognize my entity types

Posted by Programmer's Goodies on September 27, 2011

I have a problem when creating an entity model from scratch. I successfully design my objects and generate the database creation. But when I try to make a linq ... [read more]

Rating

Can this SQL be done in LINQ ?

Posted by Programmer's Goodies on October 30, 2011

i have a simple SQL query, but im struggling to replicate in LINQ select top 1 * from tbl_CarTax tax ORDER BY ABS(tax.C02_From - 286.0) i have tried this below ... [read more]

Rating

LINQ to entities comparing collections

Posted by Programmer's Goodies on November 9, 2011

I’m having issues with a Linq query that will actually do what I need it to. I’ve constructed a search that needs to find articles in a database (entity fra... [read more]

Rating

InvocationExpression and LINQ to Entities

Posted by Colin Meek on December 8, 2008

I talked a little bit about patterns using InvocationExpression in a previous post (you might want to review the post for some context). It turns out my advice ... [read more]

Rating

LINQ to SQL vs LINQ to Entities - decisions from ADO.NET team

Posted by programminglinq.com on November 3, 2008

To make a long story short: the ADO.NET team is now responsible of ADO.NET Entity Framework (including LINQ to Entities) and of LINQ to SQL (the last one was or... [read more]

Rating

LINQ to SQL vs LINQ to Entities - decisions from ADO.NET team

Posted by programminglinq.com on November 3, 2008

To make a long story short: the ADO.NET team is now responsible of ADO.NET Entity Framework (including LINQ to Entities) and of LINQ to SQL (the last one was or... [read more]

Rating

Why is Linq to Entities so slow the first time it's referenced

Posted by Programmer's Goodies on September 13, 2011

using Entity Framework 4.0, it seems that the first time an operation is done (read or write) against an entity framework object context it takes orders of magn... [read more]