title: Order columns in migrations EF Core
body: <p>'I'm working on an <code>EF Core</code> application where I inherit a common class in an <code>entity</code>. When I migrate and update the database, the inherited columns get created in the first place and the properties of the entity comes next.</p>
  
  <p>Just curious, I wanted to know if it is possible to automate the way to set the order of column creation in the SQL table.</p>
  
  <p>//Code:</p>
  
  <pre><code>public class Employee: BasicEntity
  {
      [Required(ErrorMessage = "Name is required")]
      [StringLength(60, ErrorMessage = "Name can't be longer than 60 characters")]
      public string Name { get; set; }
  
      [Required(ErrorMessage = "Age is required")]
      public int Age { get; set; }
  
      [Required(ErrorMessage = "DOB is required")]
      public DateTime DOB { get; set; }
  
      [Required(ErrorMessage = "City is required")]
      public int City { get; set; }
  
      [Required(ErrorMessage = "State is required")]
      public int State { get; set; }
  
      [Required(ErrorMessage = "Country is required")]
      public int Country { get; set; }
  
  }
  </code></pre>