Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WCF Linq Web Service Stored proc List<> Conversion

Status
Not open for further replies.

BBBD69

Programmer
Aug 9, 2012
2
US
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;
}
}
 
BBBD69,

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top