摘要 |
<p>Method and apparatus for providing a data interface application programming interface (API) to enable external data access to proprietary database systems. In accordance with one embodiment, a method for accessing data in a business database includes instantiating a company object [710] as an instance of a company class conforming to a component object model standard, and setting a server property [720] of the company object to a server name. The method also includes setting a company name property [730] of the company object to the name of the business database, setting a user name property [740] of the company object to the name of a user, setting a password property [750] of the company object to a password of the user, and setting a language property [760] of the company object to a desired language of the user. The method further includes invoking a connect method [770] within the company object to open a software connection to the business database.</p> |