|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CSqlInterface: public CInterface { public: CSqlInterface(); virtual ~CSqlInterface(); public: virtual CString GetType() = 0; virtual XSqlEnvironment CreateEnvironment() = 0; };
The abstract interface to a particular database platform.
For each database platform the separate
subclass implementing this interface should be defined.
In particular, this toolkit provides the subclass
of
CSqlInterface
implementing interface
to ODBC 3.5 data sources. This subclass
is supplied by the implementation part
of
SqlOdbc
namespace.
Each SQL interface is assigned the certain type.
Type is an implementation-dependent string, which
uniquely identifies the platform supported by this
interace. The string
"odbc"
(lower-case)
is reserved for all versions of ODBC.
CSqlEnvironment
Constructor/Destructor Summary | |
CSqlInterface
();
����������Constructs the SQL interface. |
|
~CSqlInterface
();
����������Destroys the SQL interface. |
Function Summary | |
CString
|
GetType
();
����������Returns the type of this interface. |
XSqlEnvironment
|
CreateEnvironment
();
����������Creates the run-time environment for this interface. |
Constructor/Destructor Detail |
CSqlInterface();
Constructs the SQL interface.
virtual ~CSqlInterface();
Destroys the SQL interface.
Function Detail |
virtual CString GetType() = 0;
Returns the type of this interface.
virtual XSqlEnvironment CreateEnvironment() = 0;
Creates the run-time environment for this interface.
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |