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



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-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:13:32