ComponentOne DataObjects for .NET
AcceptChanges Method (C1DataRow)

C1.Data.2 Assembly > C1.Data Namespace > C1DataRow Class : AcceptChanges Method
Commits all the changes made to the row since the last time AcceptChanges or RejectChanges was called.
Syntax
'Declaration
 
Public Sub AcceptChanges() 
public void AcceptChanges()
Remarks
This method can be applied only to simple table rows (or to rows of a table view based on such table). It cannot be applied to composite table rows. Also, applying this method to a simple table that is used in a composite table as a main constituent table is not allowed (if it 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). In such cases, use AcceptChanges for the whole data set. If one of these restrictions is not satisfied, the method throws an exception.
See Also

Reference

C1DataRow Class
C1DataRow Members
AcceptChanges Method