문제

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