Question

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.

Was it helpful?

Solution

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

Read here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top