I am working on my tutorial project I am new to Entity Framework.

I have many two many relationship tables I am using code first approach. 

[![enter image description here](https://i.stack.imgur.com/FFufu.png)](https://i.stack.imgur.com/FFufu.png)

Here is tables definition:

```
 class EmployeeDBContext : DbContext
{
    public EmployeeDBContext() : base("DefaultConnection") { }
    public DbSet<Course> Courses { get; set; }
    public DbSet<Student> Students { get; set; }
}

//================================================My entities=================================================
public class Student
{
    [Key]
    public int StudentID { get; set; }
    public string StudentName { get; set; }
    public virtual ICollection<Course> Courses { get; set; }
}

public class Course
{  
    [Key]
    public int CourseID { get; set; }
    public string CourseName { get; set; }
    public virtual ICollection<Student> Students { get; set; }
}

```

The course table filled with 3 subjects:History, Math, Physics.

I need to remove student that relate to some existing courses.

Any idea how can I implement it?