title: Entity Framework: Invalid column name 'OrganizationStructure_ID'
body: <p>I get : ERROR: Invalid column name 'OrganizationStructure_ID'.  </p>
  
  <pre><code>    public OrganizationStructure()
      {
          ChildrenItems = new HashSet&lt;OrganizationStructure&gt;();
          InputDate = DateTime.Now;
      }
  
      public int ID { get; set; }
      public string Name { get; set; }
  
      public virtual int? ParentID { get; set; }
      public int OrganizationID { get; set; }
      public int OrganizationTypeID { get; set; }
      public int OrganizationActivityID { get; set; }
      public int OrganizationLocationID { get; set; }
  
      public string AddRemark { get; set; }
      public int UserId { get; set; }
      public DateTime InputDate { get; set; }
      public int? RemAttr { get; set; }
  
      public virtual ICollection&lt;OrganizationStructure&gt; ChildrenItems { get; set; }
  </code></pre>
  
  <p>INDEX ACTION:</p>
  
  <pre><code>    return View(_organizationStructureRepository.GetAll().ToList() 
               .Where(t =&gt; t.ParentID == null));
  </code></pre>