Επεξεργασία

Κοινή χρήση μέσω


DataAdapter.AcceptChangesDuringFill Property

Definition

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