ComponentOne DataObjects for .NET
AcceptChanges Method (C1DataTable)

C1.Data.2 Assembly > C1.Data Namespace > C1DataTable Class : AcceptChanges Method
Commits all changes made to the table since it was filled with data or the last time AcceptChanges or RejectChanges was called.
Syntax
'Declaration
 
Public Sub AcceptChanges() 
public void AcceptChanges()
Remarks
This method accepts changes in one simple table or simple table view, whereas method AcceptChanges accepts changes in the whole data set. This method cannot be applied to composite tables. Also, it is not allowed to apply this method to a simple table that is used in a composite table as a main constituent table (is connected to its parent in the composite table diagram with a one-to-many relation; the restriction does not apply to those connected many-to-one). If one of these restrictions is not satisfied, the method throws an exception. In such case, use AcceptChanges for the whole data set.
See Also

Reference

C1DataTable Class
C1DataTable Members
AcceptChanges Method