Is there a direct translation between this SQL Statement to LINQ?
Select ProductId
From ProductReport
Where ProductId NOT IN(Select ProductId From ClientProduct Where ClientId = CAST('06ae6be1-ca94-44c9-bd30-f1d4f3ac3264' AS uniqueidentifier))
I can achieve the same thing with two LINQ queries, but I’d rather use one query and hit the database once.
1 Answer