Riya Yadav

Riya Yadav

  • NA
  • 38
  • 3.4k

ASP.NET MVC using Entity Framework many to many relationship

Feb 28 2017 9:16 AM
i have a problem with many to many relationship using entity framework
how to perform CRUD Function and not using repository pattern
for e.g.  i have three table
1. Table 1 is for Posts which stores post id and other details
2. Table 2 is for tags which stores all tag id and tagname
3. Table 3 is for POSTTAG which stores PostID and TagID
 
i am using listbox for multiselect tags  and able to insert new post with tags into database but unable to edit and delete that posts with tags
So Any Expert Can explain me CRUD Action How to perform or share your with me
 

Answers (3)