Namespace: OpenEdge.DataAdmin.DataSource
Class
DBQuery
Parent classes:
Inherits: OpenEdge.DataAdmin.Binding.Query.DataAdminQuery

Purpose: DBQuery
Parameters: pcTables - Buffer names.
pcPhysicalTables - Physical names.
Notes:




Method Summary
Options Name Purpose
CreateQuery ()
DefineSource () /* hook for sub classes that uses empty constructor to postpone definitions The implementation must define Tables, PhysicalTables. BaseQuery or BaseQueryTemplate and BaseTableExpression should then typically also be defined here, since they need to match the tables/physicaltables. Undefined should be set to false since this may be checked in more than one place */
HANDLE GetBufferHandles ()

Constructor Summary
Options Name Purpose
DBQuery () /* empty constructor to allow definitions to be done later (Added to support requests for lazy one-to-one relations ) - requires override of defineSource that sets table, physicaltable and BaseQuery* property(ies) */
DBQuery (character) /* constructor to allow definitions to be done later (Added to support requests for lazy one-to-one relations ) - requires override of defineSource that sets table, physicaltable and BaseQuery* property(ies) */
DBQuery (character, character)
DBQuery (character, character, character)
DBQuery (character, character, character, handle) /* add temp source at end */
DBQuery (handle, character, character, character)

Property Summary
Options Name Purpose
CHARACTER Tables
HANDLE TempSourceBuffer


Method Detail
Top

CreateQuery ()

Top

DefineSource ()

/* hook for sub classes that uses empty constructor to postpone definitions
The implementation must define Tables, PhysicalTables.
BaseQuery or BaseQueryTemplate and BaseTableExpression should then typically
also be defined here, since they need to match the tables/physicaltables.
Undefined should be set to false since this may be checked in more than
one place
Top

HANDLE GetBufferHandles ()

Returns HANDLE


Constructor Detail
Top

DBQuery ()

/* empty constructor to allow definitions to be done later
(Added to support requests for lazy one-to-one relations )
- requires override of defineSource that sets table, physicaltable
and BaseQuery* property(ies)
Top

DBQuery (character)

/* constructor to allow definitions to be done later
(Added to support requests for lazy one-to-one relations )
- requires override of defineSource that sets table, physicaltable
and BaseQuery* property(ies)
Parameters:
pcKeyFields CHARACTER
Top

DBQuery (character, character)

Parameters:
pcTables CHARACTER
pcKeyFields CHARACTER
Top

DBQuery (character, character, character)

Parameters:
pcTables CHARACTER
pcPhysicalTables CHARACTER
pcKeyFields CHARACTER
Top

DBQuery (character, character, character, handle)

/* add temp source at end
Parameters:
pcTables CHARACTER
pcPhysicalTables CHARACTER
pcKeyFields CHARACTER
phTempSource HANDLE
Top

DBQuery (handle, character, character, character)

Parameters:
phTempSource HANDLE
pcTables CHARACTER
pcPhysicalTables CHARACTER
pcKeyFields CHARACTER


Property Detail
Top

CHARACTER Tables

Returns CHARACTER
Top

HANDLE TempSourceBuffer

Returns HANDLE


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15