Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTTable.UpdateCreateMode

Syntax

void UpdateCreateMode(CREATE_MODE mode)

Parameters

  • mode [in] Represents the new table create mode. It must be perfectly formed, as it will replace the current table create mode. Use the method GetCreateMode() to retrieve the current create mode and apply the changes on a fully qualified create mode. Update only the following create table modes:
    • CREATE_ MODE.PREIMG_CREATE
    • CREATE_ MODE.TRNLOG_CREATE
    • CREATE_ MODE.WRITETHRU_CREATE
    • CREATE_ MODE.CHECKLOCK_CREATE
    • CREATE_ MODE.CHECKREAD_CREATE
    • CREATE_MODE.HUGEFILE_CREATE

Description

Update the table create mode. This method changed critical file mode attributes such as the level of transaction control.

No check is made to determine if the mode change will damage data. No check is made if the new mode is valid.

Note: Use this method with caution as data may be lost. For instance, changing a data file from transaction processing to no transaction processing make automatic recovery unavailable.

TOCIndex