[fpc-devel] RTTI and Attributes in Delphi 2010
graemeg.lists at gmail.com
Sun Aug 16 13:16:05 CEST 2009
2009/8/16 Michael Van Canneyt <michael at freepascal.org>:
> But that needs to be registered separately anyway, because this varies on
> the storage back-end. The object-db mapping should never be in the object
> itself, that is bad design.
And what about classes that can be stored in various backends? For
example, in tiOPF the same class can be stored in CSV, Tab delimited,
XML or any SQL DB - all with a compiler define or parameter to the
application at runtime. Also, foreign keys and primary keys don't mean
anything to XML, CSV etc...
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-devel