HasChanges Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets a value indicating whether the current Customer object has been modified since it was created or loaded from the web service.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public ReadOnly Property HasChanges As Boolean
'Usage
Dim instance As Customer
Dim value As Boolean
value = instance.HasChanges
public bool HasChanges { get; }
public:
property bool HasChanges {
bool get ();
}
public function get HasChanges () : boolean
Property Value
Type: System..::.Boolean
true to indicate that the current Customer has unsaved changes; otherwise, false.
Remarks
When a Customer has been modified, a dirtyFlag is set, indicating that the Customer has changes and needs to be saved. Calling Save for a Customer sets the HasChanges property to false.
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.