Table Classes

The Table classes are workhorse classes for Iron Speed Designer applications.  This class is created for each table in your application to provide the methods necessary to retrieve a group of records based on your built-in filtering criteria (in queries) and end-user filtering criteria (via filters exposed in the application’s user interface).

Use the Table classes to modify the data access logic aspects of your application.

The PrimaryKeyTable class is sub-classed for each database table and then further sub-classed again.  The VirtualTable class is used when a table join is specified and the record does not correspond to a specific table in the database.

The lowest sub-class is a customizable class.  The customizable class file is created once and is never overwritten by Iron Speed Designer.  Other classes overwritten whenever changes related to the database table are made in Iron Speed Designer.

PrimaryKeyTable Class

The PrimaryKeyTable class derives from the BaseTable class and represents a set of records from the database.  This class represents records that can be updated in the database since they have a one-to-one correspondence to a database table.

VirtualTable Class

The VirtualTable class provides the methods necessary to retrieve a group of joined records based on your filtering criteria and end-user filtering criteria.  A sub-class of VirtualTable class is created for each table join you specify.  For example, if your application has a table component showing the Order, Product and Customer tables joined, Iron Speed Designer will create a VirtualTable class for the component, which is derived from the VirtualTable class.  The primary reason for creating a class, instead of using VirtualTable itself, is to create a set of methods that are specific to the database table.  This makes the application more understandable and easier to maintain.

Use the VirtualTable classes to modify the data access logic aspects of your application.

Iron Speed Designer creates an additional sub-class called the customizable class where you can add business logic without worrying about the files being overwritten.

The VirtualTable class derives from the BaseTable class and represents a set of records from the database. This class represents records that are derived by specifying a table join to join multiple tables from a database.  These records cannot be updated in the database since they do not have a one-to-one correspondence to a database table.

See

<TABLE>Table Class

Base<TABLE>Table Class

BaseTable Class

See Also

Application Class