title: Why is my DbContext DbSet null?
body: <p>I created a new Entity Frameworks Code First app and the DbSet (People) is returning null.</p>
  
  <pre><code>public class Person
  {
      public int Id { get; set; }
      public string Name { get; set; }
  }
  
  public class Repository : DbContext
  {
      public DbSet&lt;Person&gt; People;
  }
  </code></pre>
  
  <p><strong>web.config</strong>: connection string  </p>
  
  <pre><code>&lt;connectionStrings&gt;
    &lt;add name="Repository"
         connectionString="Data Source=|DataDirectory|Repository.sdf"
         providerName="System.Data.SqlServerCe.4.0"/&gt;
  &lt;/connectionStrings&gt;
  </code></pre>
  
  <p>Now when I call </p>
  
  <pre><code>Repository _repo = new Repository()
  _repo.People;
  </code></pre>
  
  <p><code>_repo.People</code> will be null</p>
  
  <p>What I am missing?</p>
  
  <ul>
  <li>Microsoft.Data.Entity.Ctp.dll is
  referenced</li>
  <li>I have tried with and
  without a database initializer.</li>
  </ul>