solution:
- Edmx Right-click the file, select Open with (Open), XML editor (XML Editor)
- Find entities StorageModels element: in edmx
- Completely remove DefiningQuery
- Rename
store:Schema="dbo"
isSchema="dbo"
(otherwise, the code generates an error, indicating name is invalid)