Dapper Contrib - Easy CRUD Method
So far, we have looked at CRUD operations by implementing the operations ourselves using SQL.
Dapper Contrib takes it up one step further and provides us with a neat methods to do the CRUD tasks for us.
For example - notice the difference between GetAll() and UpdateAll()
Dapper.Contrib has the following Generic Members available to us:
For a more detailed breakdown of what the code does, you can refer to the Dapper repository on Github, its open source which is fantastic!
Hope this helps.
Post Picture: Overlooking From A Plane , Fiji Islands. Shot by: VijeshDattPhotography.
During the current Global Pandemic, International Travel is restricted and we cannot welcome tourists at the moment. In the meantime, I hope that I can share with you the beauty of Fiji through my blog.
Here is an excellent message from Fiji Airways.
When the time is right we will be here to welcome you back to our home. From our Fijian family to yours…Sota Tale. It’s not goodbye, just see you later.