DataAdapter.AcceptChangesDuringFill Właściwość

Definicja

Pobiera lub ustawia wartość wskazującą, czy AcceptChanges() jest wywoływana na obiekcie DataRow po dodaniu do DataTable obiektu podczas dowolnej 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

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

Atrybuty

Uwagi

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

Dotyczy

Zobacz też