title: Value cannot be null. Parameter name: entitySet
body: <p>I have a fairly standard setup with simply POCO classes</p>
  
  <pre><code>public class Project
  {
  
      public int ProjectId { get; set; }
      public string Name { get; set; }
      public int? ClientId { get; set; }
      public virtual Client Clients { get; set; }
  }
  </code></pre>
  
  <p>They use an interface   </p>
  
  <pre><code>public interface IProjectRepository
  {
      IEnumerable&lt;Project&gt; Projects { get; }
  }
  </code></pre>
  
  <p>and are constructed as a repository for ninject to bind to</p>
  
  <pre><code>public class EFProjectRepository : IProjectRepository
  {
      private EFDbContext context = new EFDbContext();
  
      public IEnumerable&lt;Project&gt; Projects
      {
          get { return context.Projects; }
      }
  }
  </code></pre>
  
  <p>The actual context is a simply DbContext</p>
  
  <pre><code>public class EFDbContext : DbContext
  {
      public DbSet&lt;Project&gt; Projects { get; set; }
  }
  </code></pre>
  
  <p>When I try and enable code first migrations I get the following error</p>
  
  <p><img src="https://i.stack.imgur.com/5HY6G.gif" alt="image of error"></p>
  
  <p>I have done this exact process with other projects and there as never been an error. This is connecting to a local Sql Server Database. There does not seem to be a problem with the connection string. I have searched for this error online but the solutions seem to answer questions that do not directly relate to my setup.</p>