Difference between revisions of "TSQLTransaction"
From Free Pascal wiki
Jump to navigationJump to searchm |
m |
||
Line 11: | Line 11: | ||
* [http://www.freepascal.org/docs-html/fcl/sqldb/tsqltransaction.html TSQLTransaction doc] | * [http://www.freepascal.org/docs-html/fcl/sqldb/tsqltransaction.html TSQLTransaction doc] | ||
* [[TDataSet]] | * [[TDataSet]] | ||
+ | {{LCL Components}} |
Revision as of 06:38, 10 April 2017
│
English (en) │
français (fr) │
日本語 (ja) │
русский (ru) │
References:
Tutorials/practical articles:
Databases |
TSQLTransaction is a non-visual component that intermediates between a database connection such as TSQLConnection and a TDataSet-derivative like a TSQLQuery.
A TSQLTransaction is used to guard a series of queries such that either all of the queries are executed by a Commit() or none using Rollback().
SQLTransaction1.Database := SQLConnection1; SQLQuery1.Transaction := SQLTransaction1;
Freepascal Documentation