Export (0) Print
Expand All

Save Method (Boolean)

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

Saves changes made to the CatalogDefinition object to the catalog system.

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

public override void Save(
	bool bypassConcurrencyCheck
)

Parameters

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

ExceptionCondition
EntityDoesNotExistException

A property that is being added to the definition does not exist in the catalog system.

EntityDoesNotExistException

The definition does not exist in the catalog system.

EntityAlreadyExistsException

A property that is being added to the definition already exists in the definition.

EntityDoesNotExistException

A property that is being removed from the definition does not exist in the definition.

NotAuthorizedException

The caller is not authorized to perform this operation.

This method should be called to save any changes made to the catalog definition. 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. In addition, this method makes a call to the Web Service to save the updated definition.

Show:
© 2015 Microsoft