i have the following SQL, how can i implement that in LINQ, i am using Entity framework in my MVC project.
SELECT
* FROM Catalog.ServiceItem
WHERE SKU NOT IN (SELECT ServiceItemSKU FROM Catalog.TaggedServiceItems)
Any Ideas ?
EDIT: ANSWER:
var untaggedItems = from item in serviceItems where !taggedServiceItems.Contains(item.SKU) select item;