<< Return to Main Index

< Return to Class Index

CGXDBToolsEngine::Init

void Init(RWDBTable table, RWDBSchema updateCols, RWDBConnection conn);

table

Specifies the table to be displayed.

updateCols

Specifies the unique-identifier fields to be used in the updater, deleter and inserter.

conn

Specifies the connection used by the updater, deleter and inserter.

void Init(RWDBTable table, RWDBSelector selector, RWDBSchema visibleCols, RWDBSchema updateCols,  RWDBConnection conn);

table

Specifies the table to be displayed.

selector

Specifies the selection criterion.

visibleCols

Fields specified in the selector.

updateCols

Specifies the unique-identifier fields to be used in the updater, deleter and inserter.

conn

Specifies the connection used by the updater, deleter and inserter.

void Init(RWDBSelector selector, RWDBConnection conn);

selector

Specifies the selector specifying a join.

conn

Specifies the connection used by the updater, deleter and inserter.

Remarks

These are the variants of the constructor-initializers that can be used to re-initialize the engine. Make sure to call InitFromEngine if the schema of the result set in the engine has changed to re-initialize the grid.

For more information take a look at the constructor function reference.

See Also

CGXDBToolsEngine::CGXDBToolsEngine

CGXDBToolsEngine

Class Overview | Class Members