سؤال

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