My fantastic Webdings Logo

Reamped.NET

It's not that bad


LINQ Distinct, a DataTable and the IEqualityComparer<T>

In a recent situation I was trying to pull some aggregates out of a DataTable using LINQ. I needed to get the rows of the DataTable with a Distinct clause, but my aggregates would be on other columns of the row. The problem is that when you call LINQ's Distinct() extension method with no argum... [More]

Custom Entity Classes Using LINQ to SQL Part 3 - Queries

Multi-Part Series Custom Entity Classes Using LINQ to SQL Part 1 - DataObjects Custom Entity Classes Using LINQ to SQL Part 2 - Data Custom Entity Classes Using LINQ to SQL Part 3 - Queries So in the first part of this series we made some DataObjects and used attributing from the Syste... [More]

Custom Entity Classes Using LINQ to SQL Part 2 - Data

Multi-Part Series Custom Entity Classes Using LINQ to SQL Part 1 - DataObjects Custom Entity Classes Using LINQ to SQL Part 2 - Data Custom Entity Classes Using LINQ to SQL Part 3 - Queries In my last post, Part 1 I showed the overview of how to set up your own entity classes or "... [More]

Custom Entity Classes Using LINQ to SQL Part 1 - DataObjects

Multi-Part Series Custom Entity Classes Using LINQ to SQL Part 1 - DataObjects Custom Entity Classes Using LINQ to SQL Part 2 - Data Custom Entity Classes Using LINQ to SQL Part 3 - Queries Have you ever wanted to use the LINQ technology without being bound to the "LINQ to SQL Cla... [More]