title: Linq Query Condition for multiple row
body: <p>I tried to solve one query from last 2 days but didn't.
  It looks easy to understand but can't made.</p>
  
  <p>There are two column in Table for example:</p>
  
  <pre><code>ResourceId  ||   MappingId
  
        1            2
        1            3
        2            2
        2            4
        3            2
        3            4
        4            2
        4            5
        5            2
        5            4
  </code></pre>
  
  <p>This is one table which have two fields ResourceId and MappingId.
  Now I want resourceId which have Mappingid {2,4}</p>
  
  <p>Means answer must be ResourceId {2,3,5}</p>
  
  <p>How can I get this answer in Linq Query?</p>