I wanted to know how to do NOT IN
in the next query
select * from WFRules
where (Class = 'DoDesign' or ParentId = 0)
and ParentType not in (5,8,9,10,11)
and Type not in (5,8,9,11,15,33,34,35,37,38,39,40,41)
So far I have this:
var rulcon = (from w in db.WFRules
where w.Class == "DoDesign" || w.ParentId == 0
select w).ToList();
Try to test with the contains but it does not work
This is the table: