ASP.NET MVC code first many to many (bridge) table

I started working with code first approach. It’s kindda confusing… anyway I need to know how can I CRUD something using the bridged table. Let’s for example say that I have 3 tables.(1 of which is the bridge table). Let’s name them foo1 and foo2 while foo3 will be our bridge table. Now let’s say I need to save a item from foo1 to foo2 (using the corresponding ID’s in foo3). How do I do that? And basically the whole CRUD. Examples and resources would be helpful.

لینک منبع

پاسخ دهید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *