Question

Is there something similar with spring jdbctemplate for c# ?

I am not seeking for jdbctemplate for c# but something that works very similar like jdbctemplate.

I am familiar with ado net and linq to entities, but I like the concept of jdbctemplate.

Was it helpful?

OTHER TIPS

I'm not a Java guy, but I took a look at the jdbctemplate to see what it is and see if I could think of anything similar in .NET.

I may be off, but to me that looks somewhat similar to the Database class in the Microsoft.Practices.EnterpriseLibrary.Data Application block. It's not an exact match, but something similar in concept in that it is meant to abstract database access and make it a bit simpler.

Dapper is the most similar to Spring JdbcTemplate and very very easy to use. No context, no tracking, just mapping results to objects.
It is created by StackOverflow developers and also maybe the most popular ORM (technically micro ORM) after EF. If you have a Pluralsight account there is a course about it presented by a Microsoft employee, else there is plentiful of videos on Youtube as well.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top