lazarus/components/datadict
giuliano f5e9e0c6ce Updated Italian translation
git-svn-id: trunk@46664 -
2014-10-25 08:51:26 +00:00
..
languages Updated Italian translation 2014-10-25 08:51:26 +00:00
fpcodegenerator.pp
frmbaseconfigcodegenerator.lfm Fixed typo PrefferedSplitterX -> PreferredSplitterX throughout the code, spotted by Howard Page-Clark 2012-04-19 22:11:56 +00:00
frmbaseconfigcodegenerator.pp lazdatadict: use IDEBuildOptions 2014-06-05 20:12:39 +00:00
frmconfdatadict.lfm
frmconfdatadict.pp Components, DataDict: removed LRS files and cleaned up, part of bug #22214 2012-06-09 20:42:09 +00:00
frmconfprojdatadict.lfm
frmconfprojdatadict.pp Components, DataDict: removed LRS files and cleaned up, part of bug #22214 2012-06-09 20:42:09 +00:00
frmgeneratedcode.lfm
frmgeneratedcode.pp Components, DataDict: removed LRS files and cleaned up, part of bug #22214 2012-06-09 20:42:09 +00:00
frmselectcodegenerator.lfm
frmselectcodegenerator.pp Components, DataDict: removed LRS files and cleaned up, part of bug #22214 2012-06-09 20:42:09 +00:00
idedatadict.pp IDE: clean up old external tools 2014-07-20 20:15:40 +00:00
lazdatadict.lpk lazdatadict: use IDEBuildOptions 2014-06-05 20:12:39 +00:00
lazdatadict.pas
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 fixed spelling mistakes, found by lintian 2014-02-05 12:07:46 +00:00
reglazdatadict.pp IDE: clean up old external tools 2014-07-20 20:15:40 +00:00
reglazdatadict.res datadict: use FPC resources for component images 2013-10-05 01:33:37 +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 one to set the path where data dictionaries are stored
    - It allows one 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 one 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!