We're creating a Category model which will have a one-to-many relationship with the products.
🌏 Website:
https://www.thecsharpacademy.com//
👨👩👦👦 Discord (add me and I'll add you to our community):
pablocappuccino#4729
👨🏽💻Source Code
https://github.com/TheCSharpAcademy/C...
📚Resources
Relational data: https://cloud.google.com/learn/what-i...
Data Integrity: https://afteracademy.com/blog/what-is...
One-to-Many Relationships: https://learn.microsoft.com/en-us/ef/...
Code First approach: https://www.entityframeworktutorial.n...
Data Annotations: https://learn.microsoft.com/en-us/ef/...
Fluent API: https://learn.microsoft.com/en-us/ef/...
SQL Indexes: https://stackoverflow.com/questions/2...
Primary Keys: https://www.tutorialspoint.com/sql/sq...
Foreign Keys: https://www.w3schools.com/sql/sql_for...
On Delete Cascade: https://dba.stackexchange.com/questio...
Watch video Entity Framework Core for Beginners: Point of Sale Console App - Part 9 - One-to-Many Configuration online without registration, duration hours minute second in high quality. This video was added by user The C# Academy 24 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 666 once and liked it 16 people.