Member Functions | |
foreignKeysFromView() |
#include <rw/db/envhandl.h> RWDBDatabase::connect(FALSE); RWDBDatabase myDbase = RWDBManager::database( ... ); RWDBEnvironmentHandle* envHandle = myDbase.environmentHandle();
RWDBEnvironmentHandle is a base class from which a family of implementation specific classes is derived. RWDBDatabase::environmentHandle() returns a pointer to this base class. To set connect time configuration parameters or configuration properties for an entire application, the application downcasts this pointer to the appropriate type, and uses its implementation-specific features. The configuration parameters that an application can set vary widely among vendors. Please refer to your access library guides for more information.
NOTE:To use this class, you must link the appropriate DBTools.h++ access library directly with your application. Using this class reduces the portability of your application.
None.
RWDBEnvironmentHandle();
Constructs an empty RWDBEnvironmentHandle. This constructor is provided as a convenience. Usable RWDBEnvironmentHandles should be produced by RWDBDatabases. See your DBTools.h++ access library guide for details on how to use the methods of class RWDBEnvironmentHandle.
virtual RWBoolean foreignKeysFromView();
Returns the state of the flag that controls whether or not to install and use a stored procedure with RWDBTable::foreignKeys().
virtual RWBoolean foreignKeysFromView(RWBoolean value);
When value is true, sets a flag that instructs the access library, if implemented, to install a stored procedure that will be used by subsequent calls to RWDBTable::foreignKeys(). With some access libraries this can improve performance. Check your access library manual to see whether this has been implemented or not. When value is false no stored procedure is used.
©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.