Domanda

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.

È stato utile?

Soluzione

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

Read here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top