O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Validating the Data to Persist

Most applications we write today allow users to enter new data into the system or modify existing data. Often, the user can manipulate many different types of entities with complex interactions. Sometimes, the interactions of different entities are so complex that the user cannot completely oversee them. The expectation now is that the application should guide the users in such situations and not allow the entry of wrong or incomplete data.

This is the background to this chapter. So, let's get on with it.

What is validation and why is it so important?

When we are talking about validation, then we mean to make sure that the data collected by the users of our application is complete, valid, and consistent. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required