Data.DB.IProviderSupport.PSStartTransaction
Delphi
procedure PSStartTransaction;
C++
virtual void __fastcall PSStartTransaction _DEPRECATED_ATTRIBUTE0 () = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | IProviderSupport |
Description
Warning: PSStartTransaction is deprecated. Please use IProviderSupportNG.
Starts a transaction that encapsulates all activity until a call to PSEndTransaction.
The provider component applies updates within a transaction, if possible. To do so, it calls PSStartTransaction to start a transaction before applying updates, and calls PSEndTransaction when all updates are applied or too many errors are encountered.
Note: TDataSetProvider only starts a transaction (Using PSStartTransaction) if the PSInTransaction method indicates that there is no transaction already established. That is, it does not assume nested transaction support is available.