Repository pattern in asp net core

kudvenkat

In this video, we will discuss
What is Repository Pattern
Benefits of Repository Pattern
An example that uses repository pattern to store and retrieve data from sql server database using entity framework core

Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.
https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation=1

Text version of the video
https://csharp-video-tutorials.blogspot.com/2019/04/repository-pattern-in-aspnet-core.html

Slides
https://csharp-video-tutorials.blogspot.com/2019/04/repository-pattern-in-aspnet-core-slides.html

ASP.NET Core Text Articles & Slides
https://csharp-video-tutorials.blogspot.com/2019/01/aspnet-core-tutorial-for-beginners.html

ASP.NET Core Tutorial
https://www.youtube.com/playlist?list=PL6n9fhu94yhVkdrusLaQsfERmL_Jh4XmU

Angular, JavaScript, jQuery, Dot Net & SQL Playlists
https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd

What is Repository Pattern
Repository Pattern is an abstraction of the Data Access Layer. It hides the details of how exactly the data is saved or retrieved from the underlying data source. The details of how the data is stored and retrieved is in the respective repository. For example, you may have a repository that stores and retrieves data from an in-memory collection. You may have another repository that stores and retrieves data from a database like SQL Server.

Repository Pattern Example

We want to be able to perform all the CRUD operations (i.e Create, Read, Update and Delete) against the following Employee type using the repository pattern.