Export (0) Print
Expand All

UpdateBehavior Enumeration

Used with the Database.UpdateDataSet method. Provides control over behavior when the Data Adapter's update command encounters an error.

Namespace: Microsoft.Practices.EnterpriseLibrary.Data
Assembly: Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll) Version: 6.0.0.0 (6.0.1304.0)

public enum UpdateBehavior

Member nameValueDescription
Standard0 No interference with the DataAdapter's Update command. If Update encounters an error, the update stops. Additional rows in the Datatable are uneffected.
Continue1 If the DataAdapter's Update command encounters an error, the update will continue. The Update command will try to update the remaining rows.
Transactional2 If the DataAdapter encounters an error, all updated rows will be rolled back.
Show:
© 2015 Microsoft