Sample static ProDataSet
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Sample static ProDataSet
The following example shows a static ProDataSet definition
in a persistent procedure, CustomersAndOrders.p.
Static ProDataSet in a persistent procedure
|
For this parameter, ProxyGen generates the following:
-
OrderDS.cswith the following class definition:
|
- The following method in the proxy:
|
Static ProDataSet in a procedure
The following example shows a static ProDataSet definition
in an external procedure, SetCustomersAndOrders.p.
|
Since the schema for these two static DataSet parameters is the same, ProxyGen uses the previously generated, strongly typed DataSet in the proxy method generated for this external procedure. For example:
|
For INPUT and INPUT-OUTPUT parameters,
the .NET client code must supply an instance of the strongly
typed DataSet object. For OUTPUT parameters, the
strongly typed DataSet variable must be declared, but the instance
is created by ABL and returned to the .NET client as a parameter.