IDO .NET API and class library
Developers can use the IDO .NET class library to programmatically access the Mongoose business objects, which are called IDOs.
Interactions with an IDO are based on requests and responses. The caller constructs an IDO request and sends it to the IDO runtime service to be executed. The IDO runtime service constructs and returns a response to the caller containing the results of the action requested.
All client access to the application database is through the IDOs. The primary responsibilities of the IDO runtime service are to query data sets (LoadCollection), save data (UpdateCollection), and call methods (Invoke).
Each IDO request has a request type, such as OpenSession, LoadCollection, UpdateCollection, or Invoke. Each IDO request also contains an optional request payload that is dependent on the request type. For example, the payload for an OpenSession request contains logon information for a user, such as user ID, password, and configuration.
The Application Program Interface (API) is used by stand-alone client applications, form and global scripts, user controls, and IDO extension classes. The same programming interface is available on the client using the Mongoose.IDO.Client class and from an IDO extension class using the Me.Context.Commands property. This chapter focuses on use of the class library. The extension classes are described in IDO extension classes.