Symphony Framework
AssignChangeMethod Method
Symphony.Conductor.Model Namespace > DataObjectBase Class : AssignChangeMethod Method
Field to assign change method to.
Name of the new change method routine.
Allow the comsumer class of a Symphony Data Object to add/alter the change validation method associated with a property.
Syntax
public void AssignChangeMethod( 
   string fieldName,
   string methodName
)

Parameters

fieldName
Field to assign change method to.
methodName
Name of the new change method routine.
Remarks
Allow the comsumer class of a Symphony Data Object to add/alter the change validation method associated with a property. _NEWLINE_ By defualt all fields are assigned the change method defined within the Synergy Repository. This method accepts the field name and the new change method name. Once assigned, then associated change method will be called when property data is modified. _NEWLINE_ The routine will accept the Synergy field name, in uppercase. The name is case sensitive. You can also spesify *ALL* to set all fields. If the property has previosly had validation rules suppressed then this method will cause further validations rules to apply.
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