title: FirstOrDefault with Multiple Conditions
body: <p>In Link to Sql, this works fine:</p>
  
  <pre><code>User user = this.dataContext.Users.FirstOrDefault(p =&gt; p.User_ID == loginID);
  </code></pre>
  
  <p>However, I would like to search using conditions like:</p>
  
  <pre><code>User user = this.dataContext.Users.FirstOrDefault(
       p =&gt; p.User_ID == 250 &amp;&amp; p =&gt; p.UserName == "Jack");
  </code></pre>
  
  <p>What's the correct way to do this?</p>
  
  <p>Thanks.</p>