LINQ to SQL version 1 does not support the detection of database schema changes. The only way to modify the generated classes is to restore them either using the constructor or from SQLMetal.
Keep in mind that there are not many differences between SQLMetal and the designer, the designer is a more attractive interface for SQLMetal and hides many of the command line keys.
I use the constructor because I'm too lazy to constantly load the command line.
Also, make sure that you do not write your own code in the generated classes, otherwise you will lose it on regency. All generated classes are partial, which means that you can easily add your own extensions to a separate file.
Aaron powell
source share