|
//===============================================================================
// Microsoft patterns & practices Enterprise Library
// Data Access Application Block
//===============================================================================
// Copyright � Microsoft Corporation. All rights reserved.
// Adapted from ACA.NET with permission from Avanade Inc.
// ACA.NET copyright � Avanade Inc. All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
namespace Microsoft.Practices.EnterpriseLibrary.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
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.