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;
}
}