开发者

LinqToSql ConnectionString won't set to "(None)"

开发者 https://www.devze.com 2022-12-29 21:31 出处:网络
Normally when you click in any whitespace in a LinqToSql dbml file, you can then go over to the properties window and set the Connection to (None). This is essential to me because it allows me to put

Normally when you click in any whitespace in a LinqToSql dbml file, you can then go over to the properties window and set the Connection to (None). This is essential to me because it allows me to put the connection s开发者_高级运维tring in the web.config.

The "(none)" option does not always show for me, especially after i make updates to the generated classes. Does anyone know why it doesnt sometimes show the none option, and how to make it show it again?

Thanks.


This stopped happening when i upgraded to VS2010-- before that i had to alter manually.

0

精彩评论

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