ComponentOne DataObjects for .NET
RejectChanges Method (C1DataTable)

C1.Data.2 Assembly > C1.Data Namespace > C1DataTable Class : RejectChanges Method
Rolls back 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 RejectChanges() 
public void RejectChanges()
Remarks
This method rolls back changes in one simple table or simple table view, whereas method RejectChanges rolls back 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 RejectChanges for the whole data set.
See Also

Reference

C1DataTable Class
C1DataTable Members
RejectChanges Method