0

OrderBy making null records come last Entity Framework and Linq

Posted by Tim on July 28, 2011 in .NET Framework, C#

Ever want to sort your result set but make sure the records with a null sorting column appear last? See the example below var results = (from x in EntityObjectContext.MyTable               select x               into grp               [...]

Tags: , ,

 
0

Using Nested Functions in C#

Posted by Tim on September 7, 2008 in .NET Framework, C#

Scenario We currently have a templating API system where this allows developers to use a combination of C# and HTML markup to customized the display of the client’s websites. In this case, I needed a way to quickly perform some calculations and formatting without having to declare the function at design-time. My problem was I [...]

Tags: ,

Copyright © 2008-2012 Codelab Blog All rights reserved.
Desk Mess Mirrored version 1.9.1 theme from BuyNowShop.com.