VisualIB
1.0
IBExpress library for making use of Borland IBExpress outside of C++Builder
|
VisualIB - InterBase wrapper for use in Visual Studio. More...
Functions | |
VIBDatabase *VIBCALL | VIBDatabase_New () |
Constructor. | |
void VIBCALL | VIBDatabase_Destroy (VIBDatabase *vdb) |
Destructor. | |
VIBBOOL VIBCALL | VIBDatabase_CloseDataSets (VIBDatabase *vdb) |
Close all datasets. | |
VIBBOOL VIBCALL | VIBDatabase_CheckActive (VIBDatabase *vdb) |
Check if the database is active. | |
VIBBOOL VIBCALL | VIBDatabase_CheckInactive (VIBDatabase *vdb) |
Check if the database is inactive. | |
VIBBOOL VIBCALL | VIBDatabase_CreateDatabase (VIBDatabase *vdb) |
Create a database. | |
VIBBOOL VIBCALL | VIBDatabase_DropDatabase (VIBDatabase *vdb) |
Drop a database. | |
VIBBOOL VIBCALL | VIBDatabase_ForceClose (VIBDatabase *vdb) |
Force-close the connection. | |
VIBBOOL VIBCALL | VIBDatabase_IndexOfDBConst (VIBDatabase *vdb, const char *st, int *ret) |
Get the index of a DBConst. | |
VIBBOOL VIBCALL | VIBDatabase_TestConnected (VIBDatabase *vdb) |
Test the database connection state. | |
VIBBOOL VIBCALL | VIBDatabase_CheckDatabaseName (VIBDatabase *vdb) |
Check if the database name is defined. | |
VIBBOOL VIBCALL | VIBDatabase_Call (VIBDatabase *vdb, int ErrCode, VIBBOOL RaiseError, int *ret) |
Execute an InterBase API call. | |
VIBBOOL VIBCALL | VIBDatabase_AddTransaction (VIBDatabase *vdb, VIBTransaction *vtr, int *ret) |
Add a transaction to this database. | |
VIBBOOL VIBCALL | VIBDatabase_FindTransaction (VIBDatabase *vdb, VIBTransaction *vtr, int *ret) |
Check if the transaction is associated with this database. | |
VIBTransaction *VIBCALL | VIBDatabase_FindDefaultTransaction (VIBDatabase *vdb) |
Get the default transaction instance for this database. | |
VIBBOOL VIBCALL | VIBDatabase_RemoveTransaction (VIBDatabase *vdb, int Idx) |
Remove a transaction from this database. | |
VIBBOOL VIBCALL | VIBDatabase_RemoveTransactions (VIBDatabase *vdb) |
Remove all transactions from this database. | |
VIBBOOL VIBCALL | VIBDatabase_SetHandle (VIBDatabase *vdb, void **Value) |
Set the database's InterBase API handle. | |
void **VIBCALL | VIBDatabase_Handle (VIBDatabase *vdb) |
Obtain the database's InterBase API handle. | |
VIBBOOL VIBCALL | VIBDatabase_IsReadOnly (VIBDatabase *vdb) |
Check the IsReadyOnly property. | |
VIBString *VIBCALL | VIBDatabase_DBParamByDPB (VIBDatabase *vdb, int Idx) |
Get a DBParam for a DPB value. | |
int VIBCALL | VIBDatabase_SQLObjectCount (VIBDatabase *vdb) |
Get the count of SQLObjects attached to the database. | |
VIBBOOL VIBCALL | VIBDatabase_HandleIsShared (VIBDatabase *vdb) |
Test if the database handle is shared. | |
int VIBCALL | VIBDatabase_TransactionCount (VIBDatabase *vdb) |
Get a count of transactions attached to the database. | |
VIBTransaction *VIBCALL | VIBDatabase_Transactions (VIBDatabase *vdb, int Index) |
Get a transaction attached to the database by index. | |
VIBTransaction *VIBCALL | VIBDatabase_InternalTransaction (VIBDatabase *vdb) |
Get the internal transaction instance for the database. | |
VIBBOOL VIBCALL | VIBDatabase_Has_DEFAULT_VALUE (VIBDatabase *vdb, const char *Relation, const char *Field) |
Get the DEFAULT_VALUE property of the indicated relation. | |
VIBBOOL VIBCALL | VIBDatabase_Has_COMPUTED_BLR (VIBDatabase *vdb, const char *Relation, const char *Field) |
Get the COMPUTED_BLR property of the indicated relation. | |
VIBBOOL VIBCALL | VIBDatabase_FlushSchema (VIBDatabase *vdb) |
Flush the database schema. | |
VIBString *VIBCALL | VIBDatabase_GetDatabaseName (VIBDatabase *vdb) |
Get the database name property. | |
VIBBOOL VIBCALL | VIBDatabase_SetDatabaseName (VIBDatabase *vdb, const char *name) |
Set the database name property. | |
VIBBOOL VIBCALL | VIBDatabase_Params_Add (VIBDatabase *vdb, const char *param) |
Add a parameter to the database. | |
VIBBOOL VIBCALL | VIBDatabase_GetLoginPrompt (VIBDatabase *vdb) |
Get the LoginPrompt property. | |
VIBBOOL VIBCALL | VIBDatabase_SetLoginPrompt (VIBDatabase *vdb, VIBBOOL LoginPrompt) |
Set the LoginPrompt property. | |
VIBTransaction *VIBCALL | VIBDatabase_GetDefaultTransaction (VIBDatabase *vdb) |
Get the default transaction attached to this database. | |
VIBBOOL VIBCALL | VIBDatabase_SetDefaultTransaction (VIBDatabase *vdb, VIBTransaction *vtr) |
Set the database's default transaction. | |
int VIBCALL | VIBDatabase_GetIdleTimer (VIBDatabase *vdb) |
Get the IdleTimer property. | |
VIBBOOL VIBCALL | VIBDatabase_SetIdleTimer (VIBDatabase *vdb, int IdleTimer) |
Set the IdleTimer property. | |
int VIBCALL | VIBDatabase_GetSQLDialect (VIBDatabase *vdb) |
Get the SQLDialict property. | |
VIBBOOL VIBCALL | VIBDatabase_SetSQLDialect (VIBDatabase *vdb, int SQLDialect) |
Set the SQLDialect property. | |
int VIBCALL | VIBDatabase_DBSQLDialect (VIBDatabase *vdb) |
Get the DBSQLDialect property. | |
VIBTraceFlags VIBCALL | VIBDatabase_GetTraceFlags (VIBDatabase *vdb) |
Get the database trace flags. | |
VIBBOOL VIBCALL | VIBDatabase_SetTraceFlags (VIBDatabase *vdb, VIBTraceFlags flags) |
Set the database trace flags. | |
VIBBOOL VIBCALL | VIBDatabase_GetAllowStreamedConnected (VIBDatabase *vdb) |
Get the AllowStreamedConnected property. | |
VIBBOOL VIBCALL | VIBDatabase_SetAllowStreamedConnected (VIBDatabase *vdb, VIBBOOL AllowStreamedConnected) |
Set the AllowStreamedConnected property. | |
VIBBOOL VIBCALL | VIBDatabase_Open (VIBDatabase *vdb) |
Open the database. | |
VIBBOOL VIBCALL | VIBDatabase_Close (VIBDatabase *vdb) |
Close the database. | |
VIBBOOL VIBCALL | VIBDatabase_GetConnected (VIBDatabase *vdb) |
Get the connected status of the database. | |
VIBBOOL VIBCALL | VIBDatabase_SetConnected (VIBDatabase *vdb, VIBBOOL Connected) |
Set the connected status of the database (connects if set to VIBTRUE and not conected). | |
VIBDataSet *VIBCALL | VIBDatabase_DataSets (VIBDatabase *vdb, int Index) |
Get a pointer to a specific dataset associated with this database. | |
int VIBCALL | VIBDatabase_DataSetCount (VIBDatabase *vdb) |
Get a count of datasets attached to this database. | |
VisualIB - InterBase wrapper for use in Visual Studio.
TIBDatabase Wrapper
VIBBOOL VIBCALL VIBDatabase_AddTransaction | ( | VIBDatabase * | vdb, |
VIBTransaction * | vtr, | ||
int * | ret | ||
) |
Add a transaction to this database.
VIBBOOL VIBCALL VIBDatabase_Call | ( | VIBDatabase * | vdb, |
int | ErrCode, | ||
VIBBOOL | RaiseError, | ||
int * | ret | ||
) |
Execute an InterBase API call.
VIBBOOL VIBCALL VIBDatabase_CheckActive | ( | VIBDatabase * | vdb | ) |
Check if the database is active.
VIBBOOL VIBCALL VIBDatabase_CheckDatabaseName | ( | VIBDatabase * | vdb | ) |
Check if the database name is defined.
VIBBOOL VIBCALL VIBDatabase_CheckInactive | ( | VIBDatabase * | vdb | ) |
Check if the database is inactive.
VIBBOOL VIBCALL VIBDatabase_Close | ( | VIBDatabase * | vdb | ) |
Close the database.
VIBBOOL VIBCALL VIBDatabase_CloseDataSets | ( | VIBDatabase * | vdb | ) |
Close all datasets.
VIBBOOL VIBCALL VIBDatabase_CreateDatabase | ( | VIBDatabase * | vdb | ) |
Create a database.
int VIBCALL VIBDatabase_DataSetCount | ( | VIBDatabase * | vdb | ) |
Get a count of datasets attached to this database.
VIBDataSet* VIBCALL VIBDatabase_DataSets | ( | VIBDatabase * | vdb, |
int | Index | ||
) |
Get a pointer to a specific dataset associated with this database.
VIBString* VIBCALL VIBDatabase_DBParamByDPB | ( | VIBDatabase * | vdb, |
int | Idx | ||
) |
Get a DBParam for a DPB value.
int VIBCALL VIBDatabase_DBSQLDialect | ( | VIBDatabase * | vdb | ) |
Get the DBSQLDialect property.
VIBBOOL VIBCALL VIBDatabase_DropDatabase | ( | VIBDatabase * | vdb | ) |
Drop a database.
VIBTransaction* VIBCALL VIBDatabase_FindDefaultTransaction | ( | VIBDatabase * | vdb | ) |
Get the default transaction instance for this database.
VIBBOOL VIBCALL VIBDatabase_FindTransaction | ( | VIBDatabase * | vdb, |
VIBTransaction * | vtr, | ||
int * | ret | ||
) |
Check if the transaction is associated with this database.
VIBBOOL VIBCALL VIBDatabase_FlushSchema | ( | VIBDatabase * | vdb | ) |
Flush the database schema.
VIBBOOL VIBCALL VIBDatabase_ForceClose | ( | VIBDatabase * | vdb | ) |
Force-close the connection.
VIBBOOL VIBCALL VIBDatabase_GetAllowStreamedConnected | ( | VIBDatabase * | vdb | ) |
Get the AllowStreamedConnected property.
VIBBOOL VIBCALL VIBDatabase_GetConnected | ( | VIBDatabase * | vdb | ) |
Get the connected status of the database.
VIBString* VIBCALL VIBDatabase_GetDatabaseName | ( | VIBDatabase * | vdb | ) |
Get the database name property.
VIBTransaction* VIBCALL VIBDatabase_GetDefaultTransaction | ( | VIBDatabase * | vdb | ) |
Get the default transaction attached to this database.
int VIBCALL VIBDatabase_GetIdleTimer | ( | VIBDatabase * | vdb | ) |
Get the IdleTimer property.
VIBBOOL VIBCALL VIBDatabase_GetLoginPrompt | ( | VIBDatabase * | vdb | ) |
Get the LoginPrompt property.
int VIBCALL VIBDatabase_GetSQLDialect | ( | VIBDatabase * | vdb | ) |
Get the SQLDialict property.
VIBTraceFlags VIBCALL VIBDatabase_GetTraceFlags | ( | VIBDatabase * | vdb | ) |
Get the database trace flags.
void** VIBCALL VIBDatabase_Handle | ( | VIBDatabase * | vdb | ) |
Obtain the database's InterBase API handle.
VIBBOOL VIBCALL VIBDatabase_HandleIsShared | ( | VIBDatabase * | vdb | ) |
Test if the database handle is shared.
VIBBOOL VIBCALL VIBDatabase_Has_COMPUTED_BLR | ( | VIBDatabase * | vdb, |
const char * | Relation, | ||
const char * | Field | ||
) |
Get the COMPUTED_BLR property of the indicated relation.
VIBBOOL VIBCALL VIBDatabase_Has_DEFAULT_VALUE | ( | VIBDatabase * | vdb, |
const char * | Relation, | ||
const char * | Field | ||
) |
Get the DEFAULT_VALUE property of the indicated relation.
VIBBOOL VIBCALL VIBDatabase_IndexOfDBConst | ( | VIBDatabase * | vdb, |
const char * | st, | ||
int * | ret | ||
) |
Get the index of a DBConst.
VIBTransaction* VIBCALL VIBDatabase_InternalTransaction | ( | VIBDatabase * | vdb | ) |
Get the internal transaction instance for the database.
VIBBOOL VIBCALL VIBDatabase_IsReadOnly | ( | VIBDatabase * | vdb | ) |
Check the IsReadyOnly property.
VIBBOOL VIBCALL VIBDatabase_Open | ( | VIBDatabase * | vdb | ) |
Open the database.
VIBBOOL VIBCALL VIBDatabase_Params_Add | ( | VIBDatabase * | vdb, |
const char * | param | ||
) |
Add a parameter to the database.
VIBBOOL VIBCALL VIBDatabase_RemoveTransaction | ( | VIBDatabase * | vdb, |
int | Idx | ||
) |
Remove a transaction from this database.
VIBBOOL VIBCALL VIBDatabase_RemoveTransactions | ( | VIBDatabase * | vdb | ) |
Remove all transactions from this database.
VIBBOOL VIBCALL VIBDatabase_SetAllowStreamedConnected | ( | VIBDatabase * | vdb, |
VIBBOOL | AllowStreamedConnected | ||
) |
Set the AllowStreamedConnected property.
VIBBOOL VIBCALL VIBDatabase_SetConnected | ( | VIBDatabase * | vdb, |
VIBBOOL | Connected | ||
) |
Set the connected status of the database (connects if set to VIBTRUE and not conected).
VIBBOOL VIBCALL VIBDatabase_SetDatabaseName | ( | VIBDatabase * | vdb, |
const char * | name | ||
) |
Set the database name property.
VIBBOOL VIBCALL VIBDatabase_SetDefaultTransaction | ( | VIBDatabase * | vdb, |
VIBTransaction * | vtr | ||
) |
Set the database's default transaction.
VIBBOOL VIBCALL VIBDatabase_SetHandle | ( | VIBDatabase * | vdb, |
void ** | Value | ||
) |
Set the database's InterBase API handle.
VIBBOOL VIBCALL VIBDatabase_SetIdleTimer | ( | VIBDatabase * | vdb, |
int | IdleTimer | ||
) |
Set the IdleTimer property.
VIBBOOL VIBCALL VIBDatabase_SetLoginPrompt | ( | VIBDatabase * | vdb, |
VIBBOOL | LoginPrompt | ||
) |
Set the LoginPrompt property.
VIBBOOL VIBCALL VIBDatabase_SetSQLDialect | ( | VIBDatabase * | vdb, |
int | SQLDialect | ||
) |
Set the SQLDialect property.
VIBBOOL VIBCALL VIBDatabase_SetTraceFlags | ( | VIBDatabase * | vdb, |
VIBTraceFlags | flags | ||
) |
Set the database trace flags.
int VIBCALL VIBDatabase_SQLObjectCount | ( | VIBDatabase * | vdb | ) |
Get the count of SQLObjects attached to the database.
VIBBOOL VIBCALL VIBDatabase_TestConnected | ( | VIBDatabase * | vdb | ) |
Test the database connection state.
int VIBCALL VIBDatabase_TransactionCount | ( | VIBDatabase * | vdb | ) |
Get a count of transactions attached to the database.
VIBTransaction* VIBCALL VIBDatabase_Transactions | ( | VIBDatabase * | vdb, |
int | Index | ||
) |
Get a transaction attached to the database by index.