我的webservice中需要有一个函数来执行存储过程
public int ExecuteProc(string storedProcName, IDataParameter[] parameters, out int rowsAffected)
{

但是该函数标记为WebMethod后在添加web引用时会报IDataParameter[]不能被序列化的错误。
我的存储过程参数在webservices外肯定还是要用IDataParameter来存(因为我是提供接口的,没有可能改人家的程序),但是传到webservices是不是可以用其他的方式来进行传输,请各位指教