EntityFramework : Invalid column name *_ID1
<p>I am trying to implement DbContext for couple of tables called '<code>Employee</code>' and '<code>Department</code>'
Relationship between Employee and Department is many to one.  i.e. department can have many employees.</p>

<p>Below are the EntityFramework classes I designed ( CodeFirst approach ) </p>

<pre><code>    [Table("Employee")]
    public class Employee
    {
        [DatabaseGenerated(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        [Column("Name")]
        public string Name { get; set; }

        [Column("Department_ID")]        
        public int Department_ID { get; set; }

        public virtual Department Department { get; set; }
    }

[Table("Department")]
    public class Department
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        [Column("Name")]        
        public string Name { get; set; }

        public virtual ICollection&lt;Employee&gt;  Employees { get; set; }
    }
</code></pre>

<p>While adding Employee record I am getting below exception </p>

<pre><code>"Invalid column name 'Department_ID1'." 
</code></pre>

<p>I am not sure why EF is referring to <code>Department_ID1</code>.  Do I need to add configuration in <code>OnModelCreating</code> method of <code>DbContext</code>?</p>

<p>I am using EF version <code>6.1.1</code></p>