TransactionMode Enumeration
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Specifies the catalog import transaction mode.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Enumeration TransactionMode
'Usage
Dim instance As TransactionMode
public enum TransactionMode
public enum class TransactionMode
public enum TransactionMode
Members
Member name | Description | |
---|---|---|
TransactionalForCatalog | Transact each individual catalog. Abort the import of a catalog if an error occurs. | |
NonTransactional | Transact each individual product in the import file. Continue the import if there are errors while importing individual products. |
Remarks
The type of transaction for the import operation. Defines the action to be taken if an error occurs during the import process. The enumeration is a value for the TransactionMode, either NonTransactional, TransactionalForCatalog.
Non-transactional: This mode causes the changes to be committed without recourse to rolling back partial updates – which could happen if the network / server go down during the course of the update. This is faster than the transactional mode. If the update to any property of the Item fails, the entire Item update is failed. In this respect, the level of granularity of the transactional update is the Item here. The Item update fails if any property of the Item fails to update. The system then moves on to the next Item.
Transactional: This mode causes Item data changes to be committed as a unit. This is a slower process. The entire xml file is not transacted because that would lock-down the entire system. The individual catalogs are transacted. If the process fails, the errors are logged and reported.