Softlogger
Categories

Being IN in LINQ to SQL - Or How I learned to Love Contains (aka Getting Linq to SQL to generate a T-SQL WHERE clause that includes an IN)


So today was my first time really playing with Linq to SQL (or any flavor of Linq for that matter). I'm prototyping a new feature and wanted to see how Linq could help... The biggest road block? Trying to figure out how to do a IN in Linq to SQL, i.e. SELECT * FROM table WHERE column IN ('value','another','etc

Filed under: Database,SQL  |    On : 2008 Jan 30  |  From: Gregs Cool [Insert Clever Name] of the Day   | related Posts

Similar Posts



Most Popular

Archives

  • 2008
  • 2007
  • 2006
  • 2005
  • 2004
  • 2003