Я знаю, что есть, вероятно, тонна вопросов, как это уже, но у меня возникают проблемыКак написать этот запрос в linq?
select *
from [Group]
where GroupId not in
(select GroupId
from CustomerGroup
where CustomerId = 189621)
я есть myGroups = db.Groups.Where (е => e.GroupId), но как я говорю не в?
я вроде там
var myGroups = from a in db.Groups
where!(from b in db.CustomerGroups
where b.CustomerId == customer.CustomerId)