Unable to extract storeprocedur-why? in Linq

Posted by Oswaldlily under Sql Server on 2/15/2012 | Points: 10 | Views : 3965 | Status : [Member] | Replies : 2
When i drag storeprocedure to datacontenxt.dbml got following error

Unable to extract storeprocedure
because its result set contains multiple anonymous columns


How to resolve it?




Responses

Posted by: Blessyjees on: 2/22/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

Refer this link http://weblogs.asp.net/zeeshanhirani/archive/2008/08/05/using-linq-with-stored-procedures.aspx to solve this issue

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 2/22/2012 [Member] Silver | Points: 25

Up
0
Down

This link may help you
http://www.codeproject.com/Articles/37938/Simple-6-steps-to-use-stored-procedure-in-LINQ

Thanks,
Sanjay

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response