title: EF Code first invalid column name "CategoryCategoryID"
body: <p>There is a existing database named Northwind with a webform application.
  when running the application raise up a error:
  'invalid column name CategoryCategoryID'.
  any one help me?.
  thanks in advance!!</p>
  
  <p><strong>Category.cs:</strong></p>
  
  <pre><code>public class Category
  {
  
      public int CategoryID { get; set; }
     // public int ID { get; set; }
      public string CategoryName { get; set; }
      public string Description { get; set; }
      public byte[] Picture { get; set; }
      public virtual ICollection&lt;Product&gt; Products { get; set; }
  }
  </code></pre>
  
  <p><strong>Product.cs:</strong></p>
  
  <pre><code>public class Product
  {
  
      public int ProductID { get; set; }
      //public int ID { get; set; }
      public string ProductName { get; set; }
      public Decimal? UnitPrice { get; set; }
      public bool Discontinued{ get; set; }
      public virtual Category Category{ get; set; }
  }
  </code></pre>
  
  <p><strong>Northwind.cs</strong></p>
  
  <pre><code>public class Northwind:   DbContext
  {
      public DbSet&lt; Product  &gt; Products { get; set; }
      public DbSet&lt; Category &gt; Categorys{ get; set; }
  }
  </code></pre>
  
  <p><strong>Products.aspx</strong></p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
      Northwind northwind = new Northwind();
  
      var products = from p in northwind.Products
      where p.Discontinued == false
      select p;
  
      GridView1.DataSource = products.ToList();
      GridView1.DataBind();
  }
  </code></pre>