Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Edited Unassigned: EFDesigner (v12): Model does not validate on save. [1083]

$
0
0
___This is blocking at least one P1 QA test.___

If we determine that the new behavior is preferred, I will update the QA test to support the new behavior.

1. Create new C# project and add EDMX.
2. Choose empty model.
3. Add entity and save.
4. Right click on "Id" property and remove the primary key.
5. Save

Expected:
Model error because the entity has no primary key

Actual:
No error. (The error is produced at build only.)

Viewing all articles
Browse latest Browse all 10318

Trending Articles



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