LINQ to SQL Designer Bug

后端 未结 3 1355
不思量自难忘°
不思量自难忘° 2020-12-31 17:06

Every time that I change a value in the designer after saving it, the .designer.cs file will be deleted.

Can anyone tell me how can I fix this problem?

3条回答
  •  佛祖请我去吃肉
    2020-12-31 17:45

    The *.designer.cs files are completely generated by designer. You should not write any your own code into this file. The classes and/or methods are partial, so you can extend/change the behaviour in the separate file.

提交回复
热议问题