Namespace: Consultingwerk.OERA.JsdoGenericService
Class 
SchemaHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:SchemaHelper
Purpose:Provides helper methods to manipulate the schema for
Business Entities exposed through the REST Adapter
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri May 22 20:15:07 CEST 2015
Purpose: Returns a new Dataset based on the schema of the original dataset
with additional fields added to every table
Notes: Supports "id" and "seq" as additinal fields



Top Method Summary
Options Name Purpose
+ HANDLE AddFieldsToDataset (handle, character) Returns a new Dataset based on the schema of the original dataset with additional fields added to every table
+ HANDLE AddFieldsToDataset (handle, character, character) Returns a new Dataset based on the schema of the original dataset with additional fields added to every table


Method Detail
Top

PUBLIC HANDLE AddFieldsToDataset (handle, character)

Purpose: Returns a new Dataset based on the schema of the original dataset
with additional fields added to every table
Notes: Supports "id" and "seq" as additinal fields

Parameters:
phDataset HANDLE
The handle of the original dataset
pcFieldNames CHARACTER
The comma delimited list of field names to add
Returns HANDLE
The handle of the new dataset with the additional fields
Top

PUBLIC HANDLE AddFieldsToDataset (handle, character, character)

Purpose: Returns a new Dataset based on the schema of the original dataset
with additional fields added to every table
Notes: Supports "id" and "seq" as additinal fields

Parameters:
phDataset HANDLE
The handle of the original dataset
pcFieldNames CHARACTER
The comma delimited list of field names to add
pcIncludeTables CHARACTER
The comma delimited list of temp-tables to include. Leave ? for all temp-tables
Returns HANDLE
The handle of the new dataset with the additional fields


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:00:10