title: How write query for getting last 3 months records in linq to sql?
body: <p>I want to display last 3 months sales records.Based on current month will show it's previous records in linq to sql.Please tell me the query for that.</p>
  
  <p>If current month is june then will show apr,may,june records.</p>
  
  <pre><code>id name  no.ofsales  desc          datevalue
  1  test    12        test desc     2013-10-12 
  2  test1   16        desc message  2013-09-14
  </code></pre>
  
  <p>Give me idea on this query.</p>