ComponentOne DataObjects for .NET
RejectChanges Method (C1DataRow)

C1.Data.2 Assembly > C1.Data Namespace > C1DataRow Class : RejectChanges Method
Rolls back all the changes made to the row since the last time AcceptChanges or RejectChanges was called.
Syntax
'Declaration
 
Public Sub RejectChanges() 
public void RejectChanges()
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, 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). In such case, 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
RejectChanges Method
C1DataRow Class