Latest Linq stories

Add a visual Linq expression builder to your app today!(www.codeproject.com)

submitted by dpetersondpeterson(3464) 8 days, 19 hours ago

Rabb Moshe Plotkin has created and open-sourced a control for creating Linq queries visually. Using this control, you can give your users the power to query data, rather than writing canned reports or queries. read more...

add a comment |category: |Views: 308

tags: another

DevForce LINQPad driver(www.ideablade.com)

submitted by dpetersondpeterson(3464) 25 days, 8 hours ago

LINQPad is an enormously helpful development tool for building and executing LINQ queries and C#/VB expressions. In response to customer requests, we’ve built a DevForce LINQPad driver that lets you use LINQPad with DevForce models. There's no need to struggle with the EF or Universal drivers or add namespaces and assemblies. read more...

add a comment |category: |Views: 136

tags: another

A Generic Equality Comparer for LINQ(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4024) 26 days, 13 hours ago

LINQ operators generally use lambda expressions to control their processing and output. Some operators use IEqualityComparer<T> implementations to compare values. This article describes a generic comparer, driven by delegates, designed for use in queries. read more...

add a comment |category: |Views: 147

tags: another

Shuffle in linq (part 2)(csharpsimple.blogspot.com)

submitted by manudeamanudea(53) 28 days, 23 hours ago

There are many times when we need to randomly sort a list or array. read more...

1 comment |category: |Views: 12

tags: another

Shuffle in Linq(csharpsimple.blogspot.com)

submitted by manudeamanudea(53) 29 days, 9 hours ago

A simple implementation for shuffling a list in linq. read more...

add a comment |category: |Views: 6

tags: another

Monadic Philosophy Part 2 – The LINQ Monad(devhawk.net)

submitted by pwhe23pwhe23(845) 1 month, 6 days ago

If you don't come from a math or philosophy background (and I don't) "monad" sounds like a made-up word. Of course, understanding OO's use of terms like "class" and "object" can be hard to grok at first too. But at least those terms have some grounding in real-world concepts that non-math geeks come across. Because I couldn't draw an analogy of monads to anything at first, it made grasping the concept of monads very hard for me. read more...

1 comment |category: |Views: 153

tags: another

Sequence contains no elements : LINQ error(techbrij.com)

submitted by urenjoyurenjoy(267) 1 month, 27 days ago

Learn how to fix linq and lambda expression error "Sequence contains no elements" read more...

add a comment |category: |Views: 9

tags: another

Seeing the SQL Generated by LINQ to Entity Queries -- Visual Studio Ma(visualstudiomagazine.com)

submitted by pwhe23pwhe23(845) 1 month, 30 days ago

Sometimes you really, really, really want to see the SQL that LINQ generates when working with the Entity Framework. There is a really simple way to do this using the immediate window that does not involve installing a profiler. read more...

add a comment |category: |Views: 216

tags: another

I've Left Query Analyzer Hell for LINQPad Heaven(terryaney.wordpress.com)

submitted by snickers5x5snickers5x5(254) 2 months, 4 days ago

extensions for linqpad read more...

add a comment |category: |Views: 15

tags: another

Architecting Your Data Access Layer with the Entity Framework(www.wadewegner.com)

submitted by mopenmopen(3596) 2 months, 10 days ago

I had the pleasure to co-present with one of my fellow evangelists, Dave Bost, on architecting and developing with the ADO.NET Entity Framework this week. I focused on application architecture topics while Dave focused on developing applications. read more...

add a comment |category: |Views: 81

tags: another

[WPF] Using Linq to shape data in a CollectionView(tomlev2.wordpress.com)

submitted by tom103tom103(96) 2 months, 12 days ago

This article describes a way to use Linq to specify the filter, sort and grouping of a WPF CollectionView. read more...

1 comment |category: |Views: 38

tags: another

LINQ Pitfalls: Using external variables in projections(notherdev.blogspot.com)

submitted by notherdevnotherdev(168) 2 months, 28 days ago

One issue with NHibernate.Linq provider that surprised me a lot is about variables (or constants) that appear in Select expressions. It seems that you can use it, but once only! Otherwise you'll experience pretty nasty silent fail. read more...

2 comments |category: |Views: 9

tags: another

NHibernate.Linq Pitfalls: Order of operators(notherdev.blogspot.com)

submitted by notherdevnotherdev(168) 3 months, 7 days ago

When writing SQL queries you need to put all the clauses in particular order that is enforced by the SQL language itself and somehow relates with how the RDBMS is going to process the query. When writing NHibernate's LINQ queries, the rules generally still apply. read more...

add a comment |category: |Views: 4

tags: another

entity framework a super dataset(www.codewrecks.com)

submitted by devsoftxdevsoftx(5) 3 months, 7 days ago

Is entity framework a super dataset? read more...

add a comment |category: |Views: 2

tags: another

NHibernate.Linq Pitfalls: Casting(notherdev.blogspot.com)

submitted by notherdevnotherdev(168) 3 months, 13 days ago

One thing that needs to be always remembered when writing NHibernate.Linq queries is that it is going to be translated into SQL eventually. What this means is that we can't do everything in our Select or Where conditions - we are restricted by the capabilities of underlying database and SQL language itself. read more...

7 comments |category: |Views: 118

tags: another

NHibernate.LINQ Pitfalls: Nested queries(notherdev.blogspot.com)

submitted by notherdevnotherdev(168) 3 months, 17 days ago

NHibernate's LINQ provider is very easy to start with and sufficient for majority of use cases, but when used in more complex scenarios it can mislead and surprise. Here is one of the pitfalls (or perhaps bugs?) I've recently run into. read more...

add a comment |category: |Views: 5

tags: another