Save Method (Boolean)
Saves the contents of the InventoryCatalog 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 InventoryCatalog
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 catalog. If bypassConcurrencyCheck is false and the property has been updated by another user then this method will throw an OptimisticLockException exception. This method saves the changes made to the Catalog Definition and refreshes the internal data.
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.