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)
Syntax
'Declaration
Public Enumeration UpdateBehavior
public enum UpdateBehavior
public enum class UpdateBehavior
public enum UpdateBehavior
Members
Member name | Description | |
---|---|---|
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.
|