Monthly Archives: May 2009

>LINQ Operators – Part IV

> Grouping operators GroupBy : GroupBy is used to group a sequence into subsets. At first look it feels like it is same as T-SQL "Group By" but it is not. It slices a sequence into multiple "rows" where each … Continue reading

Posted in Uncategorized | Leave a comment

>LINQ Query Operators – Part III

> Ordering Operators: Ordering operators like T-SQL "Order By" is used for ordering sequences in different ways. There are 5 ordering operators: OrderBy OrderByDescending ThenBy ThenByDescending Reverse Except the last operator Reverse() all those are used as: operator( keySelector ) … Continue reading

Posted in Uncategorized | Leave a comment

>LINQ Query Operators – Part II

> Projection Operators: Select: Selects items from a source, projecting the results as necessary. When the input sequence would be selected as is without any projection ( aka * in T-SQL ) using Select() is not necessary and looks a … Continue reading

Posted in Uncategorized | Leave a comment

>LINQ Query Operators – Part I

> Orders.OrderBy(o => o.OrderDate).Skip(5) .csharpcode, .csharpcode pre{ font-size: small; color: black; font-family: consolas, “Courier New”, courier, monospace; background-color: #ffffff; /*white-space: pre;*/}.csharpcode pre { margin: 0em; }.csharpcode .rem { color: #008000; }.csharpcode .kwrd { color: #0000ff; }.csharpcode .str { color: #006080; … Continue reading

Posted in Uncategorized | Leave a comment