title: How to create a view using EF code-first POCO
body: <p>That simple. I need to create a <strong>View</strong> using Code First. I found nothing about this on google nor SO. Is there a way to accomplish this?</p>
  
  <p>I need that view to be created and queried using linq, so it's not a solution to create it using an script on Database creation, for example:</p>
  
  <pre><code>var results = from c in db.Customer
  join v in db.MyView on c.Id equals v.Id
  select c;
  </code></pre>
  
  <p>A work around is also acceptable. I need a way to query entities against non-constant/ non-entities values.</p>