Catching Bad Data in Entity Framework

added by Paul Wheeler
7/15/2014 1:20:24 PM

2 Kicks, 158 Views

Any website that rejects the users' input without giving enough information to correct what they're doing is doomed to be unpopular. Entity Framework offers three different ways of validating data before writing it to the database. As well as describing how to harness these validation methods Jon Smith shows how capture these errors to make the feedback to the user less cryptic.