RDTA.PickDP.WebExtensions Library Overview

The WebExtensions library contains the Pick Data Provider classes, controls, and components that automate the movement of data between visual components and the back-end database. These components can work with any .NET visual control as well as the controls provided by the Pick Data Provider. The WebExtensions library makes use of the RDTA.PickDP.Connector library to present Pick data using either a record set familiar to hierarchical database programmers or Pick Items which are familiar to Pick programmers.

Key Classes and Controls

Class or Control

Description

connection

Generally placed on the FormMDI to provide access to a Pick Data Provider server. Defines the connection to the server.

ControlBinder

Binds form controls with the data in a table. onProcess events are fired when the data is processed.

DBCombo

Extension of the Forms.ComboBox control. All control items are automatically maintained from the visual4mv environment. The DBComboBox is a collection of connValuePair Objects. Each connValuePair Object represent an Item_Id in the table as internal code and a String with the value of the Item defined as external Value.

DBDataBinder

Placed on a form that uses the Pick Data Provider’s ability to use properties to link visual components to the back-end database. The DBDataBinder supports column and control binding:

  • Column bindings are used for visual components which are aware of cells within columns (DBGrid).

  • Control bindings are used for cells that are not aware of cells within columns.

DBListBox

Extension of the Forms.ListBox control. All control items are automatically maintained from the visual4mv environment. The DBListBox is a collection of connValuePair Objects. Each connValuePair Object represents an Item_Id in the table as internal code and a String with the value of the Item defined as external Value.

SharedObjects

Used by generated code to open/close connections, and to set table’s connections and open/close tables.

table

Placed on a form that needs to access a database table. Defines a table accessed through a connection.

 

Object Reference Model

 

Class Inheritance Model

 

 

The RDTA.PickDP.WebExtensions library includes these classes, controls, and interfaces:

Classes

connItemCancelEvent

Event handler for the connItem Object.

connItemEvent

Creates a new event handler for the connItem Object.

ControlBinder

Binds form controls with the data in a table. onProcess events are fired when the data is processed.

lockType

Enumerates the different lock types.

reflection

Used by Pick Data Provider templates to open the connections and tables associated with the form.

SharedConnection

Stores information about a connection that is stored in a shared object.

SharedObjects

Used by generated code to open/close connections, and to set table’s connections and open/close tables.

TableConverter

Provides a unified method for converting types of values to other types, as well as for accessing standard values and subproperties.

TableDataBoundDesigner

Extends the design mode behavior of a Web server control.

WebConnections

For internal use only.

Controls

connection

Defines the connection to the database server.

DBCombo

Extension of the Forms.ComboBox control. All control items are automatically maintained from the visual4mv environment. The DBComboBox is a collection of connValuePair Objects. Each connValuePair Object represent an Item_Id in the table as internal code and a String with the value of the Item defined as external Value.

DBDataBinder

Binds the fields in a table to the controls in a form.

DBListBox

Extension of the Forms.ListBox control. All control items are automatically maintained from the visual4mv environment. The DBListBox is a collection of connValuePair Objects. Each connValuePair Object represents an Item_Id in the table as internal code and a String with the value of the Item defined as external Value.

table

Represents a single table in a database.

Event handlers

table.connItemCancelEventHandler

Defines the delegate and registration point for processing connItemCancelEvents.

table.connItemEventHandler

Defines the delegate and registration point for processing connItemEvents.

Interfaces

IUserControl

Defines the interface that creates a control compatible with the Pick Data Provider.

 

5