TableをX++で作るには、AOTの操作関数を使います。 クラス定義 > static void CreateTable(str _tablePath, str _tableName) > { > // テーブルを作成する > TreeNode treeNode; > #AOT > ; > > if(TreeNode::findNode(_tablePath + _tableName)) // テーブルが既に存在した場合 > { > info(_tablePath + _tableName + " は既に存在しています"); > } > else > { > // 追加先のノードを取得 > treeNode = TreeNode::findNode(_tablePath); > > // テーブルを追加 > treeNode.AOTadd(_tableName); > > // AOTと同期させる > SqlDataDictionary::synchronize(); > > info(_tablePath + _tableName + " を追加しました"); > } > }