Dropping the data context class from the project and recreated it cleared the problem. Attempting to rename the data context class from the default DataClasses1DataContext
to MyDatabaseDataContext
re-introduced it.
I conclude that the name of the class has to be changed somewhere that is not visible to the naked eye. Rather than fight the tool, I have decided to leave the default name unchanged.