Sample ProDataSet update
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Sample ProDataSet update
The code examples in this section show how to pass a changes-only DataSet (that is, a DataSet that contains only records that have been added, updated, or deleted) to the application server and properly process the changes.
The following example shows one way to handle updates in a .NET Open Client environment.
.NET update DataSet procedure
|
Note: For the sake of simplicity,
this example does not include standard error checking. Make sure
that you include error checking in your application code.
Include file definition of temp-table definitions
The following example shows temp-table definitions in an ABL include file, sOrderTables.i.
|
Include file definition of DataSet dsOrder
The following example shows a static ProDataSet definition
in an ABL include file, dsOrderDef.i.
|
ABL update DataSet procedure
The following example shows an ABL procedure that updates the database with a DataSet that contains only records that have been modified (added, updated, or deleted).
|