Udostępnij za pośrednictwem


SetDirty Method

Indicates that a change has occurred to data members that are mapped to SQL Server storage.

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 LineItem
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 provided to the property set accessor. May be nullNothingnullptra null reference (Nothing in Visual Basic) if SetDirty is being called from outside a property setter context, or if a property setter handles its own property length validation.

Remarks

SetDirty is 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

LineItem Class

LineItem Members

Microsoft.CommerceServer.Runtime.Orders Namespace