SetChildDirty Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Called by child class instances when a change occurs to child data members that are mapped to SQL storage.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overrides Sub SetChildDirty
'Usage
Dim instance As OrderAddress
instance.SetChildDirty()
public override void SetChildDirty()
public:
virtual void SetChildDirty() override
public override function SetChildDirty()
Remarks
The child did not generate a DateTime matching the time of the change.
SetChildDirty is called by the SetChildDirty implementations within child classes to propagate the dirty state upward, eventually up to base classes. Parent class implementations use this notification to update local "last updated" DateTime properties, and potentially to optimize update queries to storage.
Where applicable, forwards the dirty notification upward to a parent class using
parentOrderForm.SetChildDirty()
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.