Share via


SetDirty Method

Updates local and parent change information and allows automatic validation of the specified property data.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Sub SetDirty ( _
    propertyValue As Object _
)
'Usage
Dim instance As DiscountApplicationRecord
Dim propertyValue As Object

instance.SetDirty(propertyValue)
public override void SetDirty(
    Object propertyValue
)
public:
virtual void SetDirty(
    Object^ propertyValue
) override
public override function SetDirty(
    propertyValue : Object
)

Parameters

  • propertyValue
    Type: System..::.Object
    The value of the property that has been changed.

Remarks

Called by local class property set accessors when a change occurs to data members that are mapped to SQL storage.

Where applicable, forwards the dirty notification upward to a parent class using parent.SetChildDirty().

Permissions

See Also

Reference

DiscountApplicationRecord Class

DiscountApplicationRecord Members

Microsoft.CommerceServer.Runtime.Orders Namespace