title: Explicit construction of entity type 'tblpayment' in query is not allowed
body: <p>I wrote a common query in my web application using linq but after executing i got this error :</p>
  
  <pre><code>Explicit construction of entity type 'AccidentCongress.dblinqtoDb.tblpayment' in query is not allowed.
  </code></pre>
  
  <p>My query is :</p>
  
  <pre><code>public List&lt;tblpayment&gt; returnpay(string uname)
      {
          List&lt;tblpayment&gt; q = (from i in db.tblpayments
                                where i.ownerUsername == uname
                                select new tblpayment
                                    {
                                        id = i.id
                                    }).ToList();
          return q;
      } 
  </code></pre>
  
  <p>I searched this problem but i couldn't find any useful solution.</p>
  
  <p>Thank you .</p>