Reset the record status to DataRecordStatus.Existing and mark all columns as "not modified".

Column values will not be reset or modified in any way.

When Recordset.SaveChanges() is called, the record will not be send to the database as there is nothing that needs storing.

See topic DataRecordStatus (enum) for an overview of record statuses.

This method is defined in the generated record code.

public void ResetToUnmodifiedExisting()


A record is created, filled with values, reset to not modified and the status is set to DataRecordStatus.Existing. Finally the record is appended to the resultset:

var record = customers.NewRecord();

record.ID = 100;

record.Firstname = "John";

record.Lastname = "Smith";