Repository Pattern with C# and Entity Framework, Done Right | Mosh

JavaScript / Web 890.5K צפיות 15/10/2015
פתח ב-YouTube

דרג סרטון זה

התחבר כדי לדרג

תיאור

🔥Get the COMPLETE Entity Framework course (80% OFF - LIMITED TIME): http://bit.ly/2rZAgrD Want to learn more from me? Check out my these links: Courses: https://codewithmosh.com Blog: https://www.programmingwithmosh.com/ Facebook: https://www.facebook.com/programmingwithmosh Twitter: https://twitter.com/moshhamedani Confused about the repository pattern? This tutorial explains it all. There are many tutorials about the repository pattern and many of them are conflicting. If you've been confused about the proper way to implement the repository and unit of work patterns with Entity Framework, this video is for you. 00:00 What is the Repository Pattern? 00:47 Benefits of the Repository Pattern 03:50 Repository in a Nutshell 04:47 What is the Unit of Work Pattern? 05:00 Does Entity Framework Really Implement Repository and Unit of Work Patterns? 09:31 Clean Architecture 11:43 Implementing the Repository Pattern 14:09 Implementing the Unit of Work Pattern 15:09 Repository and Unit of Work Patterns in Code 22:49 Example of Repository and Unit of Work Patterns Download the source code for this video here: http://programmingwithmosh.com/wp-content/uploads/2015/10/RepositoryPattern.zip And here are some YouTube videos of mine you might be interested in: Event and Delegates in C# https://youtu.be/jQgwEsJISy0?list=PLTjRvDozrdlz3_FPXwb6lX_HoGXa09Yef Generics https://youtu.be/gyal6TbgmSU?list=PLTjRvDozrdlz3_FPXwb6lX_HoGXa09Yef

#Programming with Mosh