Generated Datastore objects represent connections to the database that the generated class is mapped to. This class is derived from the appropriate Datastore parent class, depending on the access method chosen (DB2 CLI, DB2 ESQL, or ODBC).
Inherits from:
For DB2 CLI and DB2 ESQL Access:
IBase
|
+----IVBase
|
+----INotifier
|
+----IStandardNotifier
|
+----IDatastoreBase
|
+----IDatastoreBaseCLI
|
+----IDatastoreDB2
|
+----<Class>Datastore
For ODBC Access:
IBase
|
+----IVBase
|
+----INotifier
|
+----IStandardNotifier
|
+----IDatastoreBase
|
+----IDatastoreBaseCLI
|
+----IDatastoreODBC
|
+----<Class>Datastore
Public Functions by Category
public: <Class>Datastore() : IDatastorexxx(<DatabaseName>)
This constructor creates a datastore object mapped to the specified database (from the SmartGuide setup). It checks to see if the default datastore is null, and if it is, then it sets the default datastore to itself. The datastore constructor used depends on the access method chosen (DB2 CLI, DB2 ESQL, or ODBC).
Supported Platforms Windows OS/2 AIX Y Y Y
public: ~<Class>Datastore()
This destructor checks to see if the current datastore is the default datastore, and if it is, it sets the default datastore to null.
Supported Platforms Windows OS/2 AIX Y Y Y
public: <Class>Datastore& setAsDefaultDatastore()
This method sets the default (class-level) datastore to this datastore object. Any <class> object created will use this datastore for all database actions unless an object-level datastore is specified.
Supported Platforms Windows OS/2 AIX Y Y Y
Inherited from IDatastoreBase:
Public Functions
Public Data
Protected Functions
Inherited from IDatastoreBaseCLI:
Public Functions
Public Data
Protected Functions
Inherited from IDatastoreDB2 if using CLI or ESQL access:
Public Functions
Public Data
Protected Functions
Inherited from IDatastoreODBC if using ODBC access:
Public Functions
