WCF Linq Web Service Stored proc List<> Conversion
WCF Linq Web Service Stored proc List<> Conversion
(OP)
I am having a problem with I am using Linq to call a stored procedure, bring it back and wwhen I try to return it I get a conversion list conversion error.
Here is my code to make the call and return
public class EPCS_Service : IEPCSService
{
public List<ProcessList> GetList(int intLine)
{
EPCSDataContext spProcList = new EPCSDataContext();
var spQuery = spProcList.sp_GetProcess(intLine);
return spQuery;
}
}
Here is my code to make the call and return
public class EPCS_Service : IEPCSService
{
public List<ProcessList> GetList(int intLine)
{
EPCSDataContext spProcList = new EPCSDataContext();
var spQuery = spProcList.sp_GetProcess(intLine);
return spQuery;
}
}
RE: WCF Linq Web Service Stored proc List<> Conversion
Don't dupe post, add your extra findings to your first post.
Lodlaiden
You've got questions and source code. We want both!
There's a whole lot of Irish in that one.