Validates the current entity object. Overloads of this method should set the validation error collection and return false from this method.