lazarus/components/datadict
2012-04-27 20:24:38 +00:00
..
languages Translations: Ukrainian translation update by Igor Paliychuk 2012-04-27 20:24:38 +00:00
fpcodegenerator.pp examples fixed compilation 2008-08-25 22:56:32 +00:00
frmapplydatadict.lfm
frmapplydatadict.lrs
frmapplydatadict.pp
frmbaseconfigcodegenerator.lfm Fixed typo PrefferedSplitterX -> PreferredSplitterX throughout the code, spotted by Howard Page-Clark 2012-04-19 22:11:56 +00:00
frmbaseconfigcodegenerator.lrs * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmbaseconfigcodegenerator.pp Formatting: joined lines where only ');' was split to its own line, in procedure defs. 2011-03-16 16:52:28 +00:00
frmconfdatadict.lfm * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmconfdatadict.lrs * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmconfdatadict.pp * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmconfprojdatadict.lfm * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmconfprojdatadict.lrs * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmconfprojdatadict.pp * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmgeneratedcode.lfm * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmgeneratedcode.lrs * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmgeneratedcode.pp * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmselectcodegenerator.lfm * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmselectcodegenerator.lrs * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
frmselectcodegenerator.pp * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
idedatadict.pp Formatting: joined lines where only ');' was split to its own line, in procedure defs. 2011-03-16 16:52:28 +00:00
lazdatadict.lpk * Re-enabled internatonalization. 2009-09-05 09:24:15 +00:00
lazdatadict.pas * Patch by Marcelo B Paula to add translations to LazDataDict package 2009-09-04 18:44:55 +00:00
ldd_consts.pas IDE etc.: unify 3 dots in GUI string to have a space ( ...). 2012-04-09 08:24:59 +00:00
README.txt datadict: fixed typos 2011-05-18 13:02:33 +00:00
reglazdatadict.lrs
reglazdatadict.pp Components: move 2 comps to Tolls menu's itmSecondaryTools section. 2011-03-13 15:26:44 +00:00
testdatadict.lpi
testdatadict.lpr
tfpcodegenerator.xpm

This package contains data dictionary support for the Lazarus IDE.

When installed in the IDE, several things happen:

- A 'Data Dictionary' item appears under the 'Project' menu. 
  This has a submenu with 3 items:
  + 'Set...'
    This will set the data dictionary for the current application
  + 'Open'
    This will open the selected data dictionary in the database desktop.
  + 'Configure'
    This will show the data dictionary configuration dialog:
    - It allows to set the path where data dictionaries are stored
    - It allows to select the location of the database desktop

- A 'Database desktop' menu item is registered under 'Tools'. It will start
  the 'database desktop'.

- A context menu item is created in the Form Designer: 'Data Dictionary'
  with 3 items:
  - Apply DD. This will apply the data dictionary to all selected datasets.
  - Edit SQL. Starts a visual Query editor with tables from the data
    dictionary. (to be implemented)
  - Create code: allows to create Object Pascal code based on the TDataset.
    - Create a SQL constant (only if a SQL property is found)
    - Create code to create a DBF file with the same structure as the dataset.
    - Create a class and code to load this class from the dataset.
    - Create a TiOPF class and visitors to load the class from the dataset.
    (see fcl-db/src/codegen for more information)

The code generator component is registered on the component palette, under
"Data Access"

This needs a recent version of FPC (rev. 9389 or higher) to compile.

Enjoy!