This article explains how to create your own Custom Validator attribute and attach it to the properties.