Showing posts from August, 2010

CASE Statement Equivalent in LINQ

In this post, I am going to show you how to apply Left outer join in Linq to SQL. Imagine that we want to apply left out…

Linq and Sql "where in" Operator

This post will show you how to generate the  " where in " clause in Linq to SQL. Imagine that we want to selec…

Linq and Reflection

This snippet will show how LINQ can be used with reflection to retrieve specific metadata about the type that match a sp…

How to use flag Enum in c#-asp.net

Imagine we have a User class, and one of the user properties is Permission. The Permission enum can be defined as follow…

Load More
That is All