dapper with stored procedure c# code example Example: how to use stored procedure in dapper var sql = "exec [Sales by Year] @Beginning_Date, @Ending_Date"