I am creating a polling widget. I have 2 tables, name them "Surveys and Polls". I need to make a linq query to get all the polls that do not exist for this user in PollCompleted.
I have the following sets:
Polls Where Active == True
For polls Where UserId == ThisUserId Where PollId = Polls .Id
Now I need to get all the polls that do not exist in PollCompleted. I need an example for this using one or more queries. I tried to break it into 2 questions.
Basically, I have 2 IQueryables of type T and T1. I want to take all T where T.ID does not exist in T1.ParentId.
linq linq-to-sql
Curtis white
source share