Large DBML (Linq-to-SQL) gets corrupted when edited

88 Views Asked by At

I have a large DBML and when I edit something, it gets corrupted.

I digged a into the problem and found that when I save the edited DBML file, it creates a new designer file, with a 1 added to the end of the name. The original designer file and the new designer file are identical except for the changes made.

enter image description here

To fix the problem, I have to copy the contents of the xxxx1.Designer file into the original one and then delete the xxxx1.Designer file.

The designer file has OVER 68,000 lines of code. Is there anyway I can solve this bug?

Thanks JP

0

There are 0 best solutions below