title: how to use "not equal to" in where condition using linq with entity framework
body: <p>how to use "not equal to" in where condition using LINQ with entity framework.</p>
  
  <pre><code>public ActionResult ViewOfficeType()
  {            
     return View(entity.TBL_OFFICETYPE.Where(p =&gt; p.STATUS&lt;&gt;"D").ToList());
  }
  </code></pre>
  
  <blockquote>
    <p>it shows invalid expression '>'</p>
  </blockquote>
  
  <p>if i use '!='.It doesn't show error.But it doesn't work.</p>