LINQ-在.dbml中插入SP后更改SP [英] LINQ - Changing SP after inseted the SP in .dbml

查看:121
本文介绍了LINQ-在.dbml中插入SP后更改SP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用Vs 2008在LINQ中工作,我对此表示怀疑

当我在.dbml中插入(拖放)存储过程后,如果我在sql server中更改代码,请问有没有其他方法可以刷新我更改过的SP,因为我现在删除了sp形式.dbml并添加了它只有它可以正常工作....

请尽快回复

预先感谢,

Hi,

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,

推荐答案

我很确定这是唯一的方法.我确实记得看到一个插件或工具可以做到这一点,但是您将不得不向Google尝试找到它. EF4 [
I''m pretty sure that is the only way to do that. I do recall seeing an addin or tool that would do it but you''ll have to Google to try and find it. EF4[^] does allow a refresh and you should consider switching to it.


这篇关于LINQ-在.dbml中插入SP后更改SP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆