Send modified records to the database. This results in INSERT, UPDATE and DELETE statements being executed on the database.


The Recordset.SaveChanges() method is only generated for recordsets that are updateable. Read-only recordsets do not have a SaveChanges method.


See topic SQL script view for full information on making recordsets updateable.

See topic Saving Changes for a more general information on saving changes.


SaveChanges has an optional Connector parameter. If the connector parameter is not specified, SaveChanges will use the VenturaConfig.DefaultConnector


This method is defined in the generated recordset code.


public void SaveChanges()

public void SaveChanges(Connector connector)

public async Task SaveChangesAsync()

public async Task SaveChangesAsync(Connector connector)

Examples



Remarks

Recordset.SaveChanges()


is equivalent to


Transactional.SaveChanges(Recordset)