Database access
This chapter explains the necessary steps for accessing a database in C++ or .NET programs. This is similar to accessing the database from other programming languages as C# (.NET interface). Only the syntax differs slightly according to the specific program language requirements.
Accessing databases from within OSI is different, because OSI provides direct access to database variables. This is described in detail in "ODABA Script Interface (OSI)".
Accessing a database is possible by creating a hierarchy of access handles on 6 levels or by referring to an externally defined data source. Here, we will consider the more particular way of creating handle hierarchies before discussing the data source concept, which provides a more generic way for accessing a database.