Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting the UpdateCheck.Never mode by default in Visual Studio 2010 DBML designer (MS SQL/ASP.NET MVC)

In my web application I do a lot of updates. And therefore the only acceptable UpdateCheck mode for all columns except for the primary key one is "NEVER".

But unfortunately the DBML designer automatically sets the "ALWAYS" mode. So I have to go through dozens of columns to change it manually, and when I have to update the DBML file... It goes back to "ALWAYS" again.

So is there a way to automatically set the mode you want?

like image 385
Alex Avatar asked Jul 22 '10 09:07

Alex


1 Answers

I found the solution!

You can select several columns in the designer with the Shift key. And then do one mouse click.

I love Visual Studio :)

like image 64
Alex Avatar answered Oct 03 '22 13:10

Alex