开发者

How to persist a changes in a DBML (Stored Procedure)

开发者 https://www.devze.com 2023-01-09 23:38 出处:网络
i am using stored procedure and if i add/remove pa开发者_运维技巧rameters (in the sproc) than when i come to see in dbml than i dont see any changes so what i am doing currently is remove the sproc an

i am using stored procedure and if i add/remove pa开发者_运维技巧rameters (in the sproc) than when i come to see in dbml than i dont see any changes so what i am doing currently is remove the sproc and added back to dbml designer.

is this a normal behaviour of linqtosql?

in the future if i end-up modify the sproc for some reason do i need to end-up updating dbml also ?


There are a couple of ways of generating Linq To SQL classes from a database, neither of which offers round-trip coding or live update. If you change your database, including sprocs, then you'll need to regenerate your Linq to SQL classes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号