UpdateBehavior Enumeration

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)

public enum UpdateBehavior

Member nameDescription
Standard
No interference with the DataAdapter's Update command. If Update encounters an error, the update stops. Additional rows in the Datatable are uneffected.
Continue
If the DataAdapter's Update command encounters an error, the update will continue. The Update command will try to update the remaining rows.
Transactional
If the DataAdapter encounters an error, all updated rows will be rolled back.
Show:
© 2016 Microsoft