How can i write following SQL query using LINQ
SELECT priority
FROM Active_SLA
WHERE APP_ID = (
SELECT APP_ID
FROM FORM_PAGES
WHERE PAGE_ADDRESS = @address
)
AND PERSON_ID = (
SELECT PERSON_ID
FROM PERSON_DEVICES
WHERE DEVICE_NUMBER = @devicenum
)