RepoDb is a Hybrid ORM, which serves the best of both the Dapper and Entity Framework. I started looking into RepoDb for the last couple of weeks and very excited to share what I have learned so far.

In this video, I am going to share how we can achieve two operations, Write and Read using RepoDb in ASP.Net Core Web Applications.

For writing into a database, there are four options that I discuss in this video:

  1. Firstly, using a class that derives from BaseRepository
  2. Secondly, using extension methods on IDBConnection to insert the model directly into a database
  3. Thirdly, using extension methods on IDBConnection to insert using In-Line SQL query
  4. And finally, using extension methods on IDBConnection to insert using stored procedure

And in the second part of the video, I walk through how we can retrieve the saved data using RepoDb.

So far my experience with RepoDb had been amazing, and I cannot wait to explore more and share it with everyone. In my opinion, RepoDb meets you where you are in terms of your preference of what to expect from an ORM.

The source code for this video is available in GitHub repo here: https://github.com/choudhurynirjhar/repodb-demo

#repodb #aspdotnet

RepoDb Hybrid ORM (An Introduction in ASP.Net Core Application)
3.60 GEEK