Show/Hide Toolbars

Therefore Programming Interface 3.0

Therefore API > Developers Guide > Basics

Connect to the Thereforeâ„¢ Server

Scroll

A connected TheSever instance is needed whenever information is read from or written to the database. Therefore, virtually every Thereforeâ„¢ API client application declares a TheServer instance and connects to it before using other classes and methods in the Thereforeâ„¢ API. As most applications need only one server instance, consider declaring your server static/Shared or using the singleton design pattern. The TheServer instance automatically disconnects when the instance is destroyed. It is, however, considered good practice to disconnect when you are done using the server. Here is a general outline for working with the Thereforeâ„¢ Server.

 

 

 

 

 

© 2022 Therefore Corporation, all rights reserved.