Data.SqlExpr.TSQLConnection.Commit

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure Commit( TransDesc: TTransactionDesc); deprecated;

C++

void __fastcall Commit _DEPRECATED_ATTRIBUTE0 (const TTransactionDesc &TransDesc);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TSQLConnection

説明

警告: Commit は非推奨になっています。

Commit は,開いているトランザクションをコミットします。

Commit を呼び出すと,TransDesc で記述されたトランザクション中に行われたすべての変更を保存し,そのトランザクションを終了できます。

TransDesc パラメータは,トランザクションの開始時に StartTransaction メソッドに提供されるトランザクション記述子です。

指定したトランザクションが唯一の現在のトランザクションである場合,Commit メソッドは,トランザクションをコミットした後で InTransaction プロパティを false に設定します。

メモ:  このメソッドは非推奨になりました。

関連項目