Partager via


SetHasChanges Method

This internal method is used to clean the HasChanged flag in the local expression objects which are embedded in Discount object.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Protected Friend Sub SetHasChanges ( _
    hasChanges As Boolean _
)
'Usage
Dim hasChanges As Boolean

Me.SetHasChanges(hasChanges)
protected internal void SetHasChanges(
    bool hasChanges
)
protected public:
void SetHasChanges(
    bool hasChanges
)
protected internal function SetHasChanges(
    hasChanges : boolean
)

Parameters

  • hasChanges
    Type: System..::.Boolean
    true to indicate the current Discount has unsaved changes; otherwise, false.

Remarks

Discount objects created by any means other than being loaded from persistent storage are considered to have changes since otherwise the object does not yet exist in persistent storage.

Permissions

See Also

Reference

Discount Class

Discount Members

Microsoft.CommerceServer.Marketing Namespace