I have 2 tables that are related. each app can relate to many apps. ie, office can be related to word, excel.......
app
id PK int
appname varchar(50)
.....
appsrelated
relatedid int fk to app.id
appid int
sample data
app
id, appname
1, office
2, word
3, excel
4, quake
appsrelated
relatedid, appid
1, 2
1, 3
basically new to linq to sql an I have Brain lock.
I would like to do the following query. I use vb.net but c# is ok.
query is give me all the apps that are not related to (1)
result should be (4, quake)
thanks in advance.