How to prevent removal of MetadataType attribute when edmx changes. All the time some changes to the edmx and save after changes it fill remove all MetadataType attributes.

有帮助吗?

解决方案

Use partial classes for that.
Never modify a designer code file, since it's reproduced from scratch on every change.

Read here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top