FireDAC.Comp.Client.TFDCustomTransaction.Options
Delphi
property Options: TFDTxOptions read FOptionsIntf write SetOptions;
C++
__property Firedac::Stan::Option::TFDTxOptions* Options = {read=FOptionsIntf, write=SetOptions};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomTransaction |
説明
トランザクションの動作を制御するオプションのセット。
Options プロパティは、トランザクションの動作を制御するオプションのセットから構成される、オブジェクトへの参照を返します。オプションを変更しても、すぐには影響はなく、それは最初のトランザクションのコントロール文まで遅延されます。
例
FDTransaction1.Options.ReadOnly := True;
FDTransaction1.StartTransaction;