LINQ in Action roller

Linq to SQL "IS NULL" in filter

I am working with VS Beta 1. First off, my compliments to the linq project because this will improve our lives in a big way. Now for my question... I have a M:M table1 relationship and in my linq query I want filter on the non existance in that relationship. So in my query I want to var query = from t2 in db.table2 where t2.table1s == null select t2 So I'm sure this is probably a trivial task, but at least in this form the query created throws an "and (0=1)". I'm assuming because "== Read More...
Published Wednesday, April 25, 2007 2:22 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication