DataAdapter.AcceptChangesDuringFill Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether AcceptChanges() is called on a DataRow after it is added to the DataTable during any of the Fill operations.
public:
property bool AcceptChangesDuringFill { bool get(); void set(bool value); };
public bool AcceptChangesDuringFill { get; set; }
[System.Data.DataSysDescription("DataAdapter_AcceptChangesDuringFill")]
public bool AcceptChangesDuringFill { get; set; }
member this.AcceptChangesDuringFill : bool with get, set
[<System.Data.DataSysDescription("DataAdapter_AcceptChangesDuringFill")>]
member this.AcceptChangesDuringFill : bool with get, set
Public Property AcceptChangesDuringFill As Boolean
Property Value
true
if AcceptChanges() is called on the DataRow; otherwise false
. The default is true
.
- Attributes
Remarks
If false
, AcceptChanges is not called, and the newly added rows are treated as inserted rows.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.