Вопрос

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