How to encapsulate Stored Procedure call
<p>I have a DAO class which I am using to do database operations. I have lots of Stored Procedures that I call from different methods/functions. In every functions/Method, I am writing single line for adding parameter values for the SPs. Is there any way I can encapsulate this so that all the functions/Methods can call this one encapsulated functionality to pass parameters to Different stored procedure. I am sure many of you have worked on somthing similar to this. Basically I am trying to avoid redundant statements for adding parameters to parameters collection.</p>

<p>(I am using C# 3.5)</p>
