title: Simple SELECT WHERE LINQ Query to a list
body: <p>I am new to LINQ,</p>
  
  <p>I want to generate a list of objects from my dbcontext where a certain field is set to true.</p>
  
  <p>This is what I have so far, but I am getting an error about a select?</p>
  
  <pre><code>using (var db = new dbContext())
  {
      return (from s in db.sims.Where(x=&gt;x.has_been_modified == true) select x).ToList();               
  }
  </code></pre>
  
  <p>EDIT:</p>
  
  <pre><code>    //Returns a list of entries which where marked as edited in the sim managment database
      private List&lt;String&gt; GetUpdatedEntries()
      {
          using (var db = new dbContext())
          {
              return db.sims.Where(x =&gt; x.has_been_modified).ToList();                  
          }
      }
  </code></pre>