Symphony Framework
SetFieldValidationStatus Method
Symphony.Conductor.Model Namespace > DataObjectBase Class : SetFieldValidationStatus Method
Boolean value indicating if field validation is enbaled or disabled.
The field name to apply valiation rules to.
Allow the comsumer class of a Symphony Data Object to enable or disable field level validation
Syntax
public void SetFieldValidationStatus( 
   bool validateOn,
   string fieldNameString
)

Parameters

validateOn
Boolean value indicating if field validation is enbaled or disabled.
fieldNameString
The field name to apply valiation rules to.
Remarks
Allow the comsumer class of a Symphony Data Object to enable or disable field level validation. _NEWLINE_ By defualt all fields will raise the ValidateData event when data within a property is changed. Fields that have a Change method defined will raise the ExecuteChangeMethod event. This method allows the comsumer to prevent these validation events occuring. _NEWLINE_ By passing False and a field name, or comma separated list of field names, those fields will no longer raise the required validation events. _NEWLINE_ The routine will accept either the Synergy field name, in uppercase, or the correctly cased property name. The field name is case sensitive.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataObjectBase Class
DataObjectBase Members