DataAdapter.AcceptChangesDuringFill Proprietà

Definizione

Ottiene o imposta un valore che indica se AcceptChanges() viene chiamato su un DataRow oggetto dopo l'aggiunta DataTable a durante una delle operazioni Fill .

public:
 property bool AcceptChangesDuringFill { bool get(); void set(bool value); };
[System.Data.DataSysDescription("DataAdapter_AcceptChangesDuringFill")]
public bool AcceptChangesDuringFill { get; set; }
public bool AcceptChangesDuringFill { get; set; }
[<System.Data.DataSysDescription("DataAdapter_AcceptChangesDuringFill")>]
member this.AcceptChangesDuringFill : bool with get, set
member this.AcceptChangesDuringFill : bool with get, set
Public Property AcceptChangesDuringFill As Boolean

Valore della proprietà

true se AcceptChanges() viene chiamato su DataRow; in caso contrario false, . Il valore predefinito è true.

Attributi

Commenti

Se false, AcceptChanges non viene chiamato e le righe appena aggiunte vengono considerate come righe inserite.

Si applica a

Vedi anche