LINQ - Changing SP after inseted the SP in .dbml

Posted by Sathya4260 under Regular Expressions on 2/26/2011 | Points: 10 | Views : 1777 | Status : [Member] | Replies : 1

I am working in LINQ using Vs 2008, I have an doubt

After i am inserting(Drag and drop) the stored procedure in .dbml, If I changing code in sql server, did Is there any other way to refresh my changed SP as of now i am removing the sp form .dbml and adding it then only it would work fine....

Kindly reply ASAP

Thanks in advance,

Sathish Kumar S


Posted by: Krkc on: 2/28/2011 [Member] Starter | Points: 25

Sathish, if I understood correctly do you want to refresh the DBML when ever there is a change in SP. Right?

1. Until you have a change with the SP params, you need NOT update your DBML scripts.
2. If there is a change in Param, then you can see UPDATE link when you right click your DMLA/EDMX files.

Hope this helps


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

Login to post response