Top Method Summary
Options Name Purpose
+ ImportTempTable (character, JsonObject, JsonSchemaImporterParameter, dataset) Creates eTable and related records based on a JSON schema
# OnJsonSchemaPathQuery (JsonSchemaPathQueryEventArgs) Publishes the JsonSchemaPathQuery event

Top Constructor Summary
Options Name Purpose
+ JsonSchemaImporter () Default constructor

Top Event Summary
Options Name Purpose
+ JsonSchemaPathQuery (Object, JsonSchemaPathQueryEventArgs) Event raised if a schema reference is found (eg $ref: "..")


Method Detail
Top

PUBLIC ImportTempTable (character, JsonObject, JsonSchemaImporterParameter, dataset)

Purpose: Creates eTable and related records based on a JSON schema
Notes:

Parameters:
pcTableName CHARACTER
The name of the table to create
poJsonSchema Progress.Json.ObjectModel.JsonObject
The JSON schema representing the table
poParameter Consultingwerk.BusinessEntityDesigner.Services.JsonSchemaImporterParameter
The parameter object containing
dsBusinessEntity DATASET dsBusinessEntity
Output dataset containing the new table, fields and optionally field properties
Top

PROTECTED OnJsonSchemaPathQuery (JsonSchemaPathQueryEventArgs)

Purpose: Publishes the JsonSchemaPathQuery event
Notes:

Parameters:
e Consultingwerk.BusinessEntityDesigner.Services.JsonSchemaPathQueryEventArgs
The event args for the event


Constructor Detail
Top

PUBLIC JsonSchemaImporter ()

Purpose: Default constructor
Notes:



Event Detail
Top

PUBLIC JsonSchemaPathQuery (Object, JsonSchemaPathQueryEventArgs)

Purpose: Event raised if a schema reference is found (eg $ref: "..")
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.BusinessEntityDesigner.Services.JsonSchemaPathQueryEventArgs
The Consultingwerk.EventArgs with the data for this event


ProDataset Detail

ProDataset dsBusinessEntity

Member tables: eBusinessEntity, eDataRelation, eDataRelationProperties, eTable, eField, eFieldProperties, eIndex, eIndexProperties, eTableProperties, eBusinessEntityProperties


Temp-Table Detail

Temp-Table eBusinessEntity

Defined in:

Temp-Table eBusinessEntityProperties

Defined in:

Temp-Table eDataRelation

Defined in:

Temp-Table eDataRelationProperties

Defined in:

Temp-Table eField

Defined in:

Temp-Table eFieldProperties

Defined in:

Temp-Table eIndex

Defined in:

Temp-Table eIndexProperties

Defined in:

Temp-Table eTable

Defined in:

Temp-Table eTableProperties

Defined in:


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       22.12.2024 21:24:10