title: get date part only from datetime value using entity framework
body: <p>I want to get date part only from database 'date time' value
  I m using the below code..but it is getting date and time part.</p>
  
  <pre><code>using (FEntities context = new FEntities())
  {
      DateTime date = DateTime.Now;
      if (context.tblvalue.Any(x =&gt; x.date == date))
      {    
      }
  }
  </code></pre>