다음을 통해 공유


SaveSkus Method (InventorySkuCollection, Boolean)

Saves the inventory SKUs in the InventorySkuCollection.

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

Syntax

'Declaration
Public Sub SaveSkus ( _
    inventorySkus As InventorySkuCollection, _
    bypassConcurrencyCheck As Boolean _
)
'Usage
Dim instance As InventoryCatalog
Dim inventorySkus As InventorySkuCollection
Dim bypassConcurrencyCheck As Boolean

instance.SaveSkus(inventorySkus, bypassConcurrencyCheck)
public void SaveSkus(
    InventorySkuCollection inventorySkus,
    bool bypassConcurrencyCheck
)
public:
void SaveSkus(
    InventorySkuCollection^ inventorySkus, 
    bool bypassConcurrencyCheck
)
public function SaveSkus(
    inventorySkus : InventorySkuCollection, 
    bypassConcurrencyCheck : boolean
)

Parameters

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

Remarks

Performs a bulk save of the inventory products. The operation will be transacted. This method will take a collection of inventory SKUs and update the changes made by the caller to the collection, in the inventory database.

This method should be called to save any changes made to the Inventory catalog. If bypassConcurrencyCheck is true and the property has been updated by another user then this method will throw an exception. This method saves the changes made to the Catalog Definition and refreshes the internal data.

Permissions

See Also

Reference

InventoryCatalog Class

InventoryCatalog Members

SaveSkus Overload

Microsoft.CommerceServer.Inventory Namespace