title: The column name is not valid
body: <p>I get a common error that probably is easy to solve but I have no clue how. This is the message I get.</p>
  
  <p>The column name is not valid. [ Node name (if any) = Extent1,Column name = Blog_BlogId ] </p>
  
  <p><strong>Description:</strong> An unhandled exception occurred during the execution of the current web request.    Please review the stack trace for more information about the error and where it originated in the code. </p>
  
  <p><strong>Exception Details:</strong> System.Data.SqlServerCe.SqlCeException: The column name is not valid. [ Node name (if any) = Extent1,Column name = Blog_BlogId ]</p>
  
  <p>This is my classes representing my entities:</p>
  
  <pre><code>public class BlogContext : DbContext
  {
      public BlogContext()
          : base("SqlCeServices")
      {
  
      }
  
      public DbSet&lt;User&gt; Users { get; set; }
  
      public DbSet&lt;Blog&gt; Blogs { get; set; }
  
      public DbSet&lt;Post&gt; Posts { get; set; }
  
      public DbSet&lt;Category&gt; Categories { get; set; }
  
      public DbSet&lt;Tag&gt; Tags { get; set; }
  }
  
  [Table("aspnet_Users")]
  public class User
  {
      [Required]
      public Guid ApplicationId { get; set; }
  
      [Required]
      public Guid UserId { get; set; }
  
      [Required]
      public string UserName { get; set; }
  
      [Required]
      public string LoweredUserName { get; set; }
  
      public string MobileAlias { get; set; }
  
      [Required]
      public bool IsAnonymous { get; set; }
  
      [Required]
      public DateTime LastActivityDate { get; set; }
  }
  
  public class Blog
  {
      [Key]
      public int BlogId { get; set; }
  
      [Required]
      public string Name { get; set; }
      public string Url { get; set; }
      public int Rating { get; set; }
  
      public virtual ICollection&lt;User&gt; Editors { get; set; }
  
      public virtual ICollection&lt;Post&gt; Posts { get; set; }
  }
  
  public class Post
  {
      [Key]
      public int PostId { get; set; }
      [Required, MaxLength(200)]
      public string Title { get; set; }
      public string Content { get; set; }
      public string Abstract { get; set; }
      public DateTime DateCreated { get; set; }
      public DateTime DateLastEdited { get; set; }
  
      public virtual User UserId { get; set; }
  
      public virtual ICollection&lt;Category&gt; Categories { get; set; }
      public virtual ICollection&lt;Tag&gt; Tags { get; set; }
  
      public virtual Blog BlogId { get; set; }
  }
  
  public class Category
  {
      [Key]
      public int CategoryId { get; set; }
      [Required, MaxLength(200)]
      public string Title { get; set; }
      public string Description { get; set; }
  
      public virtual ICollection&lt;Post&gt; Posts { get; set; }
  
      public virtual Category ParentCategory { get; set; }
  
      public virtual Blog BlogId { get; set; }
  }
  
  public class Tag
  {
      [Key]
      public int TagId { get; set; }
      [Required, MaxLength(200)]
      public string Title { get; set; }
  
      public virtual Blog BlogId { get; set; }
  }
  </code></pre>