Hello. I am writing a programm in C# MVC and i designed my tables to my sql server and i want to do many to many connection with my tables through an join table.... any help with .net 8.0 ? any documentation or video?
Thank you.
Loading
Hello. I am writing a programm in C# MVC and i designed my tables to my sql server and i want to do many to many connection with my tables through an join table.... any help with .net 8.0 ? any documentation or video?
Thank you.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh KumarRank #91 · 22.9K reputationPosted Jun 18, 2024, 10:33 PM EDT
Hello,
Please find below links,
Links to refer :
https://shahedbd.medium.com/dotnet-8-0-asp-net-core-mvc-full-crud-operation-using-entity-framework-code-first-mssql-cfacc7858402
https://www.yogihosting.com/aspnet-core-first-crud-application/#google_vignette
Video:
https://www.youtube.com/watch?v=_uSw8sh7xKs
https://www.youtube.com/watch?v=AeIErFiah78
Naveen KumarRank #249 · 10K reputationPosted Jun 18, 2024, 10:40 PM EDT
For implementing many-to-many relationships in C# MVC using .NET 8.0, you can refer to the official Microsoft documentation on Entity Framework Core which provides a detailed guide on configuring many-to-many relationships using the Fluent API.
https://learn.microsoft.com/en-us/ef/core/modeling/relationships/many-to-many
Here is the tutorial link, which includes examples of many-to-many relationships and how to set them up using a join table.
https://learn.microsoft.com/en-us/aspnet/core/data/ef-mvc/complex-data-model?view=aspnetcore-8.0
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jun 19, 2024, 12:01 AM EDT
https://www.c-sharpcorner.com/article/sql-server-and-relational-database-part-two/
Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 19, 2024, 3:40 AM EDT
https://learn.microsoft.com/en-us/ef/core/modeling/relationships/many-to-many
Please follow this article for better understanding