aaDBConnection object
- Last UpdatedJul 22, 2024
- 1 minute read
Use objects of type aaDBConnection to create a new aaDBCommand object or aaDBTransaction object. You can create instances of aaDBConnection only through the static methods aaDBAccess.CreateConnection() or aaDBAccess.GetConnection().
Creating an instance of the aaDBConnection object is not equivalent to creating and maintaining a physical connection to the data source.
The actual physical connection opens on demand when a request is made to run aaDBCommand objects or aaDBTransaction objects. The physical connections are controlled by the Database Connection Manager (DCM).
The SQLData Script Library does not expose any mechanism to allow you to fine-tune its behavior, such as defining how many connections to use.