wwBusiness.Validate

Validate() is used to validate business rules on the business object. Generally this method consists of a bunch of if statements that validate the data of the business object and adds any errors to the wwBusiness.ValidationErrors collection.

If the wwBusiness.AutoValidate flag is set to true causes Save() to automatically call this method. Must be overridden to perform any validation.

public virtual bool Validate();

Return Value

True or False.

See also:

Class wwBusiness Class ValidationErrorCollection


 Last Updated: 3/7/2007 | Send topic feedback