Data.DB.IProviderSupport.PSStartTransaction

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: IProviderSupport

Delphi

procedure PSStartTransaction;

C++

virtual void __fastcall PSStartTransaction _DEPRECATED_ATTRIBUTE0 () = 0 ;

Description

Attention: 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.

See Also