Freigeben über


IsDirty Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets a value indicating whether this instance of OrderGroup has been modified since it was loaded from the database.

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

Syntax

'Declaration
Public Property IsDirty As Boolean
'Usage
Dim instance As OrderGroup
Dim value As Boolean

value = instance.IsDirty

instance.IsDirty = value
public bool IsDirty { get; internal set; }
public:
property bool IsDirty {
    bool get ();
    void set (bool value);
}
public function get IsDirty () : boolean
public function set IsDirty (value : boolean)

Property Value

Type: System..::.Boolean
true to indicate that the OrderGroup has been modified since it was loaded; otherwise, false.

Exceptions

Exception Condition
InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

Remarks

Stores a value indicating whether this instance of OrderGroup has been modified since it was loaded from the database. true to indicate that the OrderGroup has been modified since it was loaded; otherwise, false.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace