The background behind this question is that I amtrying to call a stored procedure using dapper in my WinForm project. I wanted to let the stored procedure handle the if else