Sithira Pathmila
Sithira Pathmila

Reputation: 145

MetadataType attribute removs when edmx change

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.

Upvotes: 0

Views: 176

Answers (1)

Amir Popovich
Amir Popovich

Reputation: 29836

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

Read here

Upvotes: 2

Related Questions