I have seen that many people getting trouble with updating many-many relationship in EF. In this post i will show how to update Many-to-Many Entity using DbContext. In short we will se how to navigation property in many to many relationship.
Post and Category has Many-to-Many ralationship.
This is PostTable Entity class.
[Table("PostTable")]