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
Purpose: Creates an additional buffer for the given buffer
Notes:



Top Method Summary
Options Name Purpose
- HANDLE CreateBuffer (handle) Creates an additional buffer for the given buffer
+ Consultingwerk.SmartComponents.Support.BindingSourceDataHandles PrepareBindingQuery (character, character, character, character) Builds the Data Binding Query
+ Consultingwerk.SmartComponents.Support.BindingSourceDataHandles 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, logical, character) Builds the Data Binding Query
+ HANDLE PrepareBindingQuery (handle, character, character, character, logical, character) Builds the Data Binding Query


Method Detail
Top

PRIVATE HANDLE CreateBuffer (handle)

Purpose: Creates an additional buffer for the given buffer
Notes:

Parameters:
phBuffer HANDLE
The handle of the orignal buffer
Returns HANDLE
The handle of the new buffer
Top

PUBLIC Consultingwerk.SmartComponents.Support.BindingSourceDataHandles 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 Consultingwerk.SmartComponents.Support.BindingSourceDataHandles
The query handle
Top

PUBLIC Consultingwerk.SmartComponents.Support.BindingSourceDataHandles 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 Consultingwerk.SmartComponents.Support.BindingSourceDataHandles
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, 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
plCreateDistinctBuffer LOGICAL
Logical value indicating if distinct buffers should be created for the tables in the query
pcExceptList 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, 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
pcExceptList CHARACTER
OUTPUT Comma delimited list of field names that will be excluded from the BindingSource
Returns HANDLE
The query handle


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:55:05