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?
Move using directives in your DataContext.cs and DataContext.designer.cs files into the namespace scope.
using
DataContext.cs
DataContext.designer.cs
namespace