title: lambda expression for OR condition in Linq to entity
body: <p>I have the following condition.
     VersionNumber == versionID + ".pdf" <strong>OR</strong> VersionNumber == versionID + ".null"</p>
  
  <p>This is not taking this way</p>
  
  <pre><code>var versionExisting = entities.Documents.Where(d =&gt; d.VersionNumber == versionID + ".pdf" || d =&gt; d.VersionNumber == versionID + ".null");
  </code></pre>