that would be it currently, unless you wanna do "introspection" (ie, RTTI)
and get a list of properties by looking at the class....

N

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mark Derricutt
> Sent: Friday, 3 November 2000 17:08
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: [Q] Lightweight DBMS....
>
>
> On Fri, 3 Nov 2000, Nic Wise wrote:
>
> > well, either way, I'd still avoid it :) there are lots of other,
> > better ways to do it, eg load it all into objects (OR-mapping) or
> > someting like that....
>
> Whats the best way to map to an object?
>
> At the moment I've got a wee class that has properties for each field with
> a huge strip of "property := fieldbyName('property').AsWhatever" in my
> loading code, works, but looks a bit messy...
>
> Mark
>
>
> --
> "We don't guarantee anything except that it will take up disk space..."
>   Apache 2.0alpha5 Disclaimer
>
> Now Playing: <no audio cd present>
>
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to