Sign in Join
Wiki copytemporary

Data module: what changed

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

OldNewLine
11A **data module** is a database specific kind of pascal unit. Much like a [[TForm]] you can drop components on it, as long as they are non-visible.
22
33Typically a data module might contain a [[TSQLConnector]] (or a specialized one) and a [[TSQLTransaction]].
44
55A new data module can be created using [[IDE Window: New Item|File|New...]]
66
7-<figure>
8-<img src="datamodule.png" title="datamodule.png" />
9-<figcaption>datamodule.png</figcaption>
10-</figure>
7+![](/wiki-images/b/b6/Datamodule.png)
118
129The datamodule above contains three database related items:
1310
1411- [[TSQLTransaction]]
1512- [[TSQLConnector]]
1613- [[TSQLScript]]
1714
1815SQLScript1 sets its transaction to SQLTransaction1 and its DataBase to SQLConnector1
1916
2017---
2118*From the Free Pascal wiki, page "Data module", as it stood on 2016-09-23 after a change by Arent, 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).*
2219Category: Databases

Back to history