Summary

We have explored various built-in validations provided by EF in this chapter. We started with the Required field validator which was widely used, then looked into the email address validator, and then we covered other validators such as compare, MinLength, MaxLength and RegularExpression field validators. Finally, we configured these field validators for the blogging system we are building in this book. This chapter dealt only with built-in validations but never discussed how client-side validations are performed or custom validations handled. Let's explore this and a few other things in Chapter 6Save Yourself – Hack Proof Your Entities.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset