1

Resolved

mdo:net maximum parameters?

description

Yes, this is a current limit.
 
As MS XSL Extensions can't be created with unlimited number of parameters, so I have to create something like following
 

 
 
    public object net(string proc, object p1, object p2, object p3, object p4, object p5, object p6)
    { return net(proc, new object[] { p1, p2, p3, p4, p5, p6 }); }
    public object netcall(string instance, string method, object p1, object p2, object p3, object p4, object p5, object p6)
    { return netcall(instance, method, new object[] { p1, p2, p3, p4, p5, p6 }); }
 
 

 
You can just find this code in ~/App_Code/XsltDb/Helper.cs and add more mappings with p7, p8, p9, ...
 
Next release I'll change limit to 12 parameters in main development branch.

comments

findy wrote Jan 31, 2011 at 5:07 PM

Since 02.00.50 mdo:net and mdo:netcall allow up to 12 parameters

wrote Jan 31, 2011 at 5:07 PM

wrote Jan 31, 2011 at 5:07 PM

wrote Feb 14, 2013 at 1:55 AM

wrote May 16, 2013 at 7:41 AM

wrote May 16, 2013 at 7:41 AM

wrote Jun 14, 2013 at 7:58 AM