Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Data model classes reset any time edm is saved!

$
0
0

What the!?!

So I got through and setup all my Data Annotations and Property Contstraints. Then I take a look again at my .edmx file and out of habit I hit Ctrl-S to save. All of a sudden all my model classes have been reset to the edm defaults!

Is this a setting that can be toggled or do I really have to ensure never to resave my edmx?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>