Share via


Save Method (Boolean)

Saves the contents of the InventorySku object to the database.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Sub Save ( _
    bypassConcurrencyCheck As Boolean _
)
'Usage
Dim instance As InventorySku
Dim bypassConcurrencyCheck As Boolean

instance.Save(bypassConcurrencyCheck)
public void Save(
    bool bypassConcurrencyCheck
)
public:
void Save(
    bool bypassConcurrencyCheck
)
public function Save(
    bypassConcurrencyCheck : boolean
)

Parameters

  • bypassConcurrencyCheck
    Type: System..::.Boolean
    true to overwrite the changes made to this object by other users; otherwise, false.

Remarks

This method should be called to save any changes made to the Inventory SKU. If bypassConcurrencyCheck is false and the property has been updated by another user then this method will throw an OptimisticLockException exception.

Permissions

See Also

Reference

InventorySku Class

InventorySku Members

Save Overload

Microsoft.CommerceServer.Inventory Namespace