lazdbexport/fr: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: lazdbexport/fr
| Old | New | Line | |
|---|---|---|---|
| 1 | + | **lazdbexport** est un paquet qui fournit des composants pour faciliter l'exportation de bases de données. Il est livré avec Lazarus et peut être installé en utilisant \[Package/fr\|Install/Uninstall packages\]. Après l'installation, les composants sont accessibles via l'onglet Data Export. Il fournit une classe patron pour des descendants qui peuvent fournir une exportation de DataSets. Viennent avec des composants prêt à l'emploi pour : | |
| 2 | + | ||
| 3 | + | | icône | Composant | Description | | |
| 4 | + | |----|----|----| | |
| 5 | + | |  | [[TCSVExporter/fr|TCSVExporter]] | CSV | | |
| 6 | + | |  | [[TFixedlengthExporter/fr|TFixedlengthExporter]] | Taille fixe | | |
| 7 | + | |  | [[TSQLExporter/fr|TSQLExporter]] | SQL | | |
| 8 | + | |  | [[fpXMLXSDExport/fr|TXMLXSDExporter]] | XML/XSD | | |
| 9 | + | |  | [[TSimpleXMLExporter/fr|TSimpleXMLExporter]] | XML | | |
| 10 | + | |  | [[TSimpleJSONExporter/fr|TSimpleJSONExporter]] | json | | |
| 11 | + | |  | [[fpdbfexport/fr|TFPDbfExport]] | dbf | | |
| 12 | + | |  | [[TTeXExporter/fr|TTeXExporter]] | TeX | | |
| 13 | + | |  | [[TRTFExporter/fr|TRTFExporter]] | RTF | | |
| 14 | + | |  | [[TStandardExportFormats/fr|TStandardExportFormats]] | | | |
| 15 | + | |  | [[TFPDataExporter/fr|TFPDataExporter]] | | | |
| 16 | + | ||
| 17 | + | Comme indiqué les développeurs peuvent écrire leurs propres cclasses d'export en utilisant le framework d'export. Un exemple de ceci est l'exportateur au format de classeur Excel dans [[FPSpreadsheet/fr|FPSpreadsheet]] | |
| 18 | + | ||
| 19 | + | ## Importation | |
| 20 | + | ||
| 21 | + | Il n'y a pas de codes d'import correspondant vers les DataSets dans FPC/Lazarus mais du code tierce partie comme dbimport (https://bitbucket.org/reiniero/smalltools/src, directory dbimport). | |
| 22 | + | ||
| 23 | + | DbImport est utilisé dans les outils de gestion de bases de données [LazSQLX](http://lazsqlx.wordpress.com/) et [TurboBird](http://code.sd/products/turbobird/) pour l'importation de données CSV (simili) dans des DataSets. | |
| 24 | + | ||
| 25 | + | Une autre forme d'import consiste à utiliser [[TSQLScript/fr|TSQLScript]] ; une base de données exportée avec [[TSQLExporter/fr|TSQLExporter]] peut être importée avec [[TSQLScript/fr|TSQLScript]]. | |
| 26 | + | ||
| 27 | + | ## Exemple | |
| 28 | + | ||
| 29 | + | Voyez les exemples dans votre répertoire Source de FPC \$(fpcdir)\source\packages\fcl-db\tests (voir [[Databases/fr|Exécution de tests de bases de données de FPC]]) et spécialement testdbexport.pas. | |
| 30 | + | ||
| 31 | + | --- | |
| 32 | + | *From the Free Pascal wiki, page "lazdbexport/fr", as it stood on 2017-07-12 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).* |
