overload call sproc.
I do not have it in front of me, but you should get the DataAccessName.cs file and create a method name with the same signature
auto gen'd sproc method signature:
void sp_sproc(int a, int b, int c, int d, int e);
you will do this in the DataAccessName.cs file
void sp_sproc(int a, int b) { this.sp_sproc(a,b,0,0,0); }
if the parameters are null, for example
void sp_sproc(int? a, int? b, int? c, int? d, int? e);
then you could do
void sp_sproc(int a, int b) { this.sp_sproc(a,b,null,null,null); }
source share