Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Data validation with EF

$
0
0

Hi,

I'm looking for the best way to handle validation errors. I've seen many video's and read many documents but i still have doubts. I,m using WPF. EF, MVVM, .net 4.5.

My questions are:

Should i set  the Code Generation Strategy of the EF model to DEFAULT or NONE?

Where to put validations of (table)fields.

Where to put general validation of a table.

How to make it possible to show that a field is mandatory.

How to make it possible to show that af field is not valid.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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