News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

How the Dynamic Link Library Works

Started by sukishan, Aug 13, 2009, 01:58 PM

Previous topic - Next topic

sukishan

How the Dynamic Link Library Works
The Availability Workbench DLL provides a DataSet class that may be used to hold project data in memory. A DataSet contains tables, columns and rows. The DataSet constructor automatically constructs all the tables and columns representing the Availability Workbench project schema. However, no rows are added when a DataSet object is created, i.e. a DataSet object contains no data on construction.

A DataSet object may be initially populated with the very minimum of default data for a project by calling the DataSet New method. This method would be called if you are intending to populate a project with data from scratch.

A DataSet object may also be initially populated with data using the DataSet Read method. In this case data is extracted from an existing Availability Workbench project file.

The DataSet class provides methods for writing and reading data to and from the DataSet. Tables and columns in the DataSet are identified by unique string identifiers. These identifiers are listed in the document Availability Workbench DLL Reference Manual.

If you wish to write modified project data to a new or existing Availability Workbench project file then simply call the DataSet Write method. If you wish to validate the data first then call the DataSet Verify method.
A good beginning makes a good ending