Namespace: Consultingwerk.BusinessEntityDesigner.Services
Class 
DatabaseSchemaDatasetController Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.SmartComponents.Interfaces.IDatasetController

File:BusinessEntityDatasetController
Purpose:Dataset Controller for the Database Schema Dataset
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Oct 13 20:03:46 CEST 2010



Top Method Summary
Options Name Purpose
+ DeregisterConsumer (Object) Invoked by SmartBusinessEntityAdapter and SmartDatasetChildAdapter instances when detaching from the Dataset of the DatasetController. Allows event unsubscription etc.
+ HANDLE GetTableSchema (character) Returns a handle of the database schema dataset containing the schema of a the first database table with the given name
+ HANDLE GetTableSchema (character, character) Returns a handle of the database schema dataset containing the schema of a single database table
# ListViewItemSelectionChangedHandler (Object, ItemSelectionChangedEventArgs) Event handler for the item selection changed event of the UltraListView Controls
# ListViewMouseDownHandler (Object, MouseEventArgs) Event handler for the mouse down event of the UltraListView Controls
+ PopulateToolbox (UltraExplorerBar) Populates the Toolbox of the Business Entity Designer
+ RegisterConsumer (Object) Invoked by SmartBusinessEntityAdapter and SmartDatasetChildAdapter instances when attaching to the Dataset of the DatasetController. Allows event subscription etc.

Top Constructor Summary
Options Name Purpose
+ DatabaseSchemaDatasetController () Constructor of the DatabaseSchemaDatasetController class

Top Property Summary
Options Name Purpose
+ Consultingwerk.BusinessEntityDesigner.UI.DatabaseFieldsControl DatabaseFieldsControl Gets and sets the reference to the DatabaseFieldsControl of the Business Entity Designer
+ HANDLE DatasetHandle Returns the reference to the Database Schema dataset


Method Detail
Top

PUBLIC DeregisterConsumer (Object)

Purpose: Invoked by SmartBusinessEntityAdapter and SmartDatasetChildAdapter
instances when detaching from the Dataset of the DatasetController.
Allows event unsubscription etc.
Notes: Interface IDatasetController member

Parameters:
poConsumer Progress.Lang.Object
The reference of the Object detaching from the Dataset Controller
Top

PUBLIC HANDLE GetTableSchema (character)

Purpose: Returns a handle of the database schema dataset containing the schema
of a the first database table with the given name
Notes:

Parameters:
pcTable CHARACTER
The name of the database table to return
Returns HANDLE
The handle of the database schema dataset
Top

PUBLIC HANDLE GetTableSchema (character, character)

Purpose: Returns a handle of the database schema dataset containing the schema
of a single database table
Notes:

Parameters:
pcDatabase CHARACTER
The name of the database that contains the table to return
pcTable CHARACTER
The name of the database table to return
Returns HANDLE
The handle of the database schema dataset
Top

PROTECTED ListViewItemSelectionChangedHandler (Object, ItemSelectionChangedEventArgs)

Purpose: Event handler for the item selection changed event of the UltraListView Controls
Notes:

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

PROTECTED ListViewMouseDownHandler (Object, MouseEventArgs)

Purpose: Event handler for the mouse down event of the UltraListView Controls
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.Windows.Forms.MouseEventArgs
The MouseEventArgs with the data for this event
Top

PUBLIC PopulateToolbox (UltraExplorerBar)

Purpose: Populates the Toolbox of the Business Entity Designer
Notes:

Parameters:
poExplorerBar Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar
The reference to the UltraExplorerBar Control that contains the Toolbox
Top

PUBLIC RegisterConsumer (Object)

Purpose: Invoked by SmartBusinessEntityAdapter and SmartDatasetChildAdapter
instances when attaching to the Dataset of the DatasetController.
Allows event subscription etc.
Notes: Interface IDatasetController member

Parameters:
poConsumer Progress.Lang.Object
The reference of the Object attaching to the Dataset Controller


Constructor Detail
Top

PUBLIC DatabaseSchemaDatasetController ()

Purpose: Constructor of the DatabaseSchemaDatasetController class
Notes:



Property Detail
Top

PUBLIC Consultingwerk.BusinessEntityDesigner.UI.DatabaseFieldsControl DatabaseFieldsControl

Purpose: Gets and sets the reference to the DatabaseFieldsControl of the
Business Entity Designer
Notes: Required for the SelectedItemChanged event handler of the UltraListView
instances

Returns Consultingwerk.BusinessEntityDesigner.UI.DatabaseFieldsControl
Top

PUBLIC HANDLE DatasetHandle

Purpose: Returns the reference to the Database Schema dataset
Notes:

Returns HANDLE


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