Namespace: Consultingwerk.SmartComponents.Support
Class 
SmartBusinessEntityQuerySupport Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:SmartBusinessEntityQuerySupport
Purpose:Supports building queries for the SmartBusinessEntityAdapter
designer
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Mar 14 09:07:02 CET 2009



Top Method Summary
Options Name Purpose
+ CleanUp () Methods to clean up the dynamicly generated objects
+ HANDLE PrepareBindingQuery (character, character, character, character) Builds the Data Binding Query
+ HANDLE PrepareBindingQuery (character, character, character, character, character) Builds the Data Binding Query
+ HANDLE PrepareBindingQuery (handle, character, character, character) Builds the Data Binding Query
+ HANDLE PrepareBindingQuery (handle, character, character, character, logical, character) Builds the Data Binding Query


Method Detail
Top

PUBLIC CleanUp ()

Purpose: Methods to clean up the dynamicly generated objects
Notes: Allows deletion of the temporarily used dataset. We cannot delete
the dataset immediately, because that would invalidate the buffers
used in the query.

Top

PUBLIC HANDLE PrepareBindingQuery (character, character, character, character)

Purpose: Builds the Data Binding Query
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
pcEntityTable CHARACTER
The entity table name
pcEntityView CHARACTER
The entity view table names
pcEntityJoin CHARACTER
Comma delimited list of YES and NO that indicates if the Entity View tables should be joined in the query
Returns HANDLE
The query handle
Top

PUBLIC HANDLE PrepareBindingQuery (character, character, character, character, character)

Purpose: Builds the Data Binding Query
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
pcEntityTable CHARACTER
The entity table name
pcEntityView CHARACTER
The entity view table names
pcEntityJoin CHARACTER
Comma delimited list of YES and NO that indicates if the Entity View tables should be joined in the query
cExceptList CHARACTER
OUTPUT Comma delimited list of field names that will be excluded from the BindingSource
Returns HANDLE
The query handle
Top

PUBLIC HANDLE PrepareBindingQuery (handle, character, character, character)

Purpose: Builds the Data Binding Query
Notes:

Parameters:
phDataset HANDLE
The handle of the ProDataset
pcEntityTable CHARACTER
The entity table name
pcEntityView CHARACTER
The entity view table names
pcEntityJoin CHARACTER
Comma delimited list of YES and NO that indicates if the Entity View tables should be joined in the query
Returns HANDLE
The query handle
Top

PUBLIC HANDLE PrepareBindingQuery (handle, character, character, character, logical, character)

Purpose: Builds the Data Binding Query
Notes:

Parameters:
phDataset HANDLE
The handle of the ProDataset
pcEntityTable CHARACTER
The entity table name
pcEntityView CHARACTER
The entity view table names
pcEntityJoin CHARACTER
Comma delimited list of YES and NO that indicates if the Entity View tables should be joined in the query
plOuterJoin LOGICAL
Logical value indicating if the query should use an OUTER-JOIN
cExceptList CHARACTER
OUTPUT Comma delimited list of field names that will be excluded from the BindingSource
Returns HANDLE
The query handle


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:33:28