lazarus/components/datadict
2009-04-10 15:33:23 +00:00
..
fpcodegenerator.pp examples fixed compilation 2008-08-25 22:56:32 +00:00
frmapplydatadict.lfm lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
frmapplydatadict.lrs lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
frmapplydatadict.pp lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
frmbaseconfigcodegenerator.lfm * Removed filter property, added tablenamehint 2008-07-31 12:41:10 +00:00
frmbaseconfigcodegenerator.lrs * Consistency of buttons in dialogs, alignment issues in configcodegenerator 2008-07-17 19:19:19 +00:00
frmbaseconfigcodegenerator.pp * Consistency of buttons in dialogs, alignment issues in configcodegenerator 2008-07-17 19:19:19 +00:00
frmconfdatadict.lfm * Consistency of buttons in dialogs, alignment issues in configcodegenerator 2008-07-17 19:19:19 +00:00
frmconfdatadict.lrs * Consistency of buttons in dialogs, alignment issues in configcodegenerator 2008-07-17 19:19:19 +00:00
frmconfdatadict.pp examples fixed compilation 2008-08-25 22:56:32 +00:00
frmconfprojdatadict.lfm lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
frmconfprojdatadict.lrs lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
frmconfprojdatadict.pp examples fixed compilation 2008-08-25 22:56:32 +00:00
frmgeneratedcode.lfm * Removed filter property, added tablenamehint 2008-07-31 12:41:10 +00:00
frmgeneratedcode.lrs * Removed filter property, added tablenamehint 2008-07-31 12:41:10 +00:00
frmgeneratedcode.pp examples fixed compilation 2008-08-25 22:56:32 +00:00
frmselectcodegenerator.lfm * Consistency of buttons in dialogs, alignment issues in configcodegenerator 2008-07-17 19:19:19 +00:00
frmselectcodegenerator.lrs * Consistency of buttons in dialogs, alignment issues in configcodegenerator 2008-07-17 19:19:19 +00:00
frmselectcodegenerator.pp lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
idedatadict.pp examples fixed compilation 2008-08-25 22:56:32 +00:00
lazdatadict.lpk components: give packages that depend on the LCL a widget set dependent unit output directory to prevent overwriting the compiled unit when the widget set changes (bug #9963) 2008-04-05 08:18:16 +00:00
lazdatadict.pas lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
README.txt lazdatadict: added .txt extension to README.txt 2007-12-08 20:20:36 +00:00
reglazdatadict.lrs lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
reglazdatadict.pp lcl: split TAsyncProcess and TProcessUtf8 between 2 units. This is needed to remove widgetset dependency from svn2revision.inc 2009-04-10 15:33:23 +00:00
testdatadict.lpi lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
testdatadict.lpr lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00
tfpcodegenerator.xpm lazdatadict: added package lazdatadict - a data dictionary from Michael Van Canneyt 2007-12-08 20:19:59 +00:00

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 seleted 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 unders 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!