0

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.

Has AlTaiar
  • 4,052
  • 2
  • 36
  • 37
Sithira Pathmila
  • 145
  • 1
  • 3
  • 10
  • check this this out , i already answered this question here http://stackoverflow.com/a/24757520/3050647 – elia07 Jul 15 '14 at 12:01

1 Answers1

2

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

Read here

Has AlTaiar
  • 4,052
  • 2
  • 36
  • 37
Amir Popovich
  • 29,350
  • 9
  • 53
  • 99