25 lines
909 B
C#
25 lines
909 B
C#
|
|
namespace GZTW.Data
|
|
{
|
|
/// <summary>
|
|
/// Used with the Database.UpdateDataSet method. Provides control over behavior when the Data
|
|
/// Adapter's update command encounters an error.
|
|
/// </summary>
|
|
public enum UpdateBehavior
|
|
{
|
|
/// <summary>
|
|
/// No interference with the DataAdapter's Update command. If Update encounters
|
|
/// an error, the update stops. Additional rows in the Datatable are uneffected.
|
|
/// </summary>
|
|
Standard,
|
|
/// <summary>
|
|
/// If the DataAdapter's Update command encounters an error, the update will
|
|
/// continue. The Update command will try to update the remaining rows.
|
|
/// </summary>
|
|
Continue,
|
|
/// <summary>
|
|
/// If the DataAdapter encounters an error, all updated rows will be rolled back
|
|
/// </summary>
|
|
Transactional
|
|
}
|
|
} |