News


Few days ago I look for a solution so  I can  just save my time writing CRUD. So I found a solution. It’s called Dapper.

For creating c# class from the database you can use this code

https://gist.github.com/anirugu/9fb82ce773c45578f42f7a6d899f3221

later add Dapper into your project and add Dapper.Contrib

now you don’t need to write a open Datareader and write some reading writing code again and again.

Dapper.Contrib give you some cool functionality like Insert and Update. You still need to write your SQL queries but it’s going to be good and easier to maintain the code. Last year I was working on a c# project and project become full mess of these code. With one line of  SELECT , INSERT  OR UPDATE code and 100 line of code later to just read those things from DataReader.

Dapper can save a lot of your time doing those same repeated thing and do it pretty well. 

https://github.com/StackExchange/Dapper

https://stackoverflow.com/questions/tagged/dapper

Happy Coding Smile


Comments

Gravatar # Nice posst
Posted by My Shirdi Trip on 9/9/2017 12:24 PM
Highly informative article. I will bookmark this page for future reference. Thank you very much for sharing. - chennai to shirdi flight package, chennai to shirdi tour package

http://myshirditrip.com/
Gravatar # re: How to use dapper for MySQL in C#
Posted by MeganSandford on 10/10/2017 1:46 PM
I am glad that you have finally decided to provide us with this tutorial. This is very essential for me to grasp! This college paper writing service can be totally helpful for you!

Gravatar # re: How to use dapper for MySQL in C#
Posted by Daisy Faith on 10/13/2017 12:53 PM
i'm satisfied which you have subsequently determined to offer us with this educational. that is very crucial for me to understand! this school thesis writing service can be completely beneficial for you!
Gravatar # re: How to use dapper for MySQL in C#
Posted by Chirag on 10/24/2017 2:16 PM
Great! You have described very well.

Thanks,
Chirag | Bootstrap themes designer
Gravatar # re: How to use dapper for MySQL in C#
Posted by Winchester14 on 10/31/2017 12:16 AM
wow!Thank this meaningful and helpfwrite my essaysul post !And I like help people make research paper

Gravatar # re: How to use dapper for MySQL in C#
Posted by Lyricab on 10/31/2017 11:56 AM
This is a very good post.I have visited your blog first time and it is quite appreciable. I really appreciate your hardwork for it.Your content is very informative and it will surely help the people.You can check my website Lyricab
Post A Comment
Title:
Name:
Email:
Comment:
Verification: