Namespace: Consultingwerk.BusinessEntityDesigner.Plugins.DataAccessMockGenerator
Class 
BusinessEntityTesterCustomizer Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.IBusinessEntityTesterCustomizer

File:BusinessEntityTesterCustomizer
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Dec 04 13:52:38 CET 2017
Purpose: Applies cusstomization to the UltraBusinessEntityTesterForm
Notes:



Top Method Summary
Options Name Purpose
+ ApplyCustomization (UltraBusinessEntityTesterForm, UltraToolbarsManager, OERABusinessEntityTesterUserControl) Applies cusstomization to the UltraBusinessEntityTesterForm
# CreateDataAccessMock (Form) Invokes the wizard to create a data access mock class
# CHARACTER GetExcludes (handle, character) Calculates the fields to exclude for the given temp-table
- ToolClickHandler (Object, ToolClickEventArgs) Event handler for the ToolClick event of the UltraToolbarsManager
+ WriteDataFile (character, character, character, character, character, integer) Writes the XML data file


Method Detail
Top

PUBLIC ApplyCustomization (UltraBusinessEntityTesterForm, UltraToolbarsManager, OERABusinessEntityTesterUserControl)

Purpose: Applies cusstomization to the UltraBusinessEntityTesterForm
Notes:

Parameters:
poForm Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.UltraBusinessEntityTesterForm
The reference to the UltraBusinessEntityTesterForm instance
poToolbarsManager Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The reference to the UltraToolbarsManager instance
poControl Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.OERABusinessEntityTesterUserControl
The reference to the OERABusinessEntityTesterUserControl instance
Top

PROTECTED CreateDataAccessMock (Form)

Purpose: Invokes the wizard to create a data access mock class
Notes:

Parameters:
poForm System.Windows.Forms.Form
The reference to the active Form
Top

PROTECTED CHARACTER GetExcludes (handle, character)

Purpose: Calculates the fields to exclude for the given temp-table
Notes:

Parameters:
phBuffer HANDLE
The handle of the eField buffer of the Business Entity model
pcTableName CHARACTER
The name of the temp-table
Returns CHARACTER
The list of excluded fields
Top

PRIVATE ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick event of the UltraToolbarsManager
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event
Top

PUBLIC WriteDataFile (character, character, character, character, character, integer)

Purpose: Writes the XML data file
Notes:

Parameters:
pcBusinessEntityName CHARACTER
The name of the Business Entity
pcDataAccessName CHARACTER
The name of the DataAccess class
pcXmlFileName CHARACTER
The name of the XML file to write to
cTables CHARACTER
The names of the temp-tables to populate
cQueryStrings CHARACTER
The query strings
iNumResults INTEGER
The number of results


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