DataAdapter.AcceptChangesDuringFill Właściwość

Definicja

Pobiera lub ustawia wartość wskazującąDataRow, czy AcceptChanges() jest wywoływana po dodaniu jej do DataTable dowolnego z operacji Wypełnianie.

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

Wartość właściwości

Boolean

true jeśli AcceptChanges() jest wywoływana w obiekcie DataRow; w przeciwnym razie false. Wartość domyślna to true.

Atrybuty

Uwagi

AcceptChanges Jeśli falseelement nie jest wywoływany, a nowo dodane wiersze są traktowane jako wstawione wiersze.

Dotyczy

Zobacz też