|Home||How To||Online Documentation||Support||Download||Order|
saAPI *NativeAPI() const;
Returns a set of functions of native DBMS client API.
A pointer to a base class saAPI from which a family of DBMS implementation-specific classes are derived.
Use NativeAPI method if you want to call client specific API functions which are not directly supported by the Library. NativeAPI method returns a pointer to the set of native API functions available for an DBMS client you currently use. To use the database API directly you have to downcast this saAPI pointer to the appropriate type and use its implementation-specific members.
See Server Specific Guide section to know what type cast you have to make and what additional header file you have to include to work with specific DBMS client API. Note that for some DBMS using appropriate type casting depends on an API version (that generally mean that you have to explicitly check client version before casting, see ClientVersion method).
To get more information about DBMS API functions see this DBMS specific documentation.
Please be aware of the complications associated with making direct API calls, as the internal logic of the SQLAPI++ Library is not used. Besides, making direct API calls reduces an application's portability.
Problems and Questions
If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to firstname.lastname@example.org.