Sign in Join
Wiki copytemporary

TSQLTransaction/fr: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: TSQLTransaction/fr

OldNewLine
1+**TSQLTransaction** ![](/wiki-images/b/bd/Tsqltransaction.png) est un composant non visuel qui fait l'intermédiaire entre une connexion de base de données telle que [[TSQLConnection/fr|TSQLConnection]] et un dérivé de [[TDataSet/fr|TDataSet]] tel qu'un [[TSQLQuery/fr|TSQLQuery]].
2+
3+Un TSQLTransaction est utilisé pour garder une séries de requêtes de telle façon qu'elles soient toutes validées (*`Commit`*) ou toutes annulées (*`Rollback`*).
4+
5+` `**`SQLTransaction1`**`.Database := SQLConnection1;`\
6+` SQLQuery1.Transaction := `**`SQLTransaction1`**`;`
7+
8+## Documentation Freepascal
9+
10+- [Doc TSQLTransaction](http://www.freepascal.org/docs-html/fcl/sqldb/tsqltransaction.html)
11+- [[TDataSet/fr|TDataSet]]
12+
13+---
14+*From the Free Pascal wiki, page "TSQLTransaction/fr", as it stood on 2017-04-10 after a change by E-ric, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history