[fpc-devel] RTTI and Attributes in Delphi 2010

Michael Van Canneyt michael at freepascal.org
Sun Aug 16 14:24:38 CEST 2009



On Sun, 16 Aug 2009, Graeme Geldenhuys wrote:

> 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.
>
> +1
>
> 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...

That's what I meant with 'this varies on the storage back-end.'... :-)

Michael.



More information about the fpc-devel mailing list