Data.DB.TDataSet.PSStartTransaction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PSStartTransaction; virtual;

C++

virtual void __fastcall PSStartTransaction();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

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.

This method is an implementation of the IProviderSupport.PSStartTransaction method and, by default, is blank. To use it, every TDataSet descendant must override it in its specific way.

See Also