I looked for all attempts to find a reasonable and effective solution for this.
I created a new database using EF6.0 (VS 2013) using the Model First approach. This model was created in a WPF application that will use a database. I was not able to successfully perform any type of data validation (I did data annotations in ASP and EF, metadata classes, etc.), However, I was not able to use metadata classes.
Does anyone have a simple report / article / blog / etc, in which there is an example of a firm and VALID, how to use EF6 data checks to notify about errors in the user interface in a WPF application? Any help would be helpful or maybe the best advice on data verification. I could easily write my own validation logic to validate the object before trying to save the database, but this is similar to the intuition of the Entity Framework idea and its built-in validation attributes.
source
share