Easy way to run SQL stored procedure in C# using dynamics

I don’t like standard way of calling stored procedures in .NET with SqlCommand. So when I was starting one of projects, I thought that maybe I could use some helper that would allow me to easier way of calling procedures. As I didn’t find anything interesting, I’ve created one by myself. And this is one of this moments, when you feel why dynamics in C# are so great thing.
Now if I want to save some data using stored procedure I can use code like that:

SqlHelper.SaveData("SP_SAVE_IMPORTANT_DATA", new
{
    firstParameter= "This is value",
    allData = 42
});

To get data fro Czytaj dalej Easy way to run SQL stored procedure in C# using dynamics