We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 18,573 times

Contents

Related Categories

ADO+ - Programmability

Microsoft

Programmability

With Visual Studio development system version 7.0, you can program against your objects, not against tables and columns. ADO+ uses strongly typed programming in which business objects figure prominently.

For example, consider the following line of code, using conventional (not strongly typed) programming:

IF TotalCost > Table("Customer").Column("AvailableCredit")

In this example, you are programming the ADO tables and columns.

With strongly typed programming, the same example is much easier:

IF TotalCost > Customer.AvailableCredit

Besides being easier to read, the strongly typed code is easier to write. Specifically, automatic statement completion is sensitive to the objects you are programming. In the following example, we are able to navigate across entities in our data set, and IntelliSense® technology shows the available tables related to Customers.

image1

Figure 1. Strongly Typed Programming with IntelliSense

Additionally typed data sets run faster at execution time because the application doesn't have to search through ADO collection objects each time it needs to access a data member.

Comments