company logo

DataSource :: client - Data source client property

The client handle for the data source provides the connection to the database. It might be a local client or a server client. The property does not provide a set function, but a client handle can be explicitly set by calling setClient().

Return value:  Client handle ( odaba::Client & )

The client handle refers to an (usually) opened ODABA client. Calling functions with invalid client handles may cause an exception. For checking the client handle, isValid() can be called.

Implementation details

odaba::Client & DataSource  :: client (  )

The function returns the data source client handle for accessing database resources.