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.
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