Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Utility to convert table to a class.
Message
De
10/10/1999 12:20:52
 
 
À
10/10/1999 10:38:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00274695
Message ID:
00274753
Vues:
42
>>I was going to write a utility program that generates skeleton code to convert/map table attributes to a class but though maybe someone has already done this that I could steal and save time 8-)
>>
>>At the very least it needs to map each table column with equivalent class property with both assign and access methods and create generic default methods like Save(), Delete(), Fetch(), Search(), etc. Think in terms of a "Class Template".
>>
>>Being able to generate ADO code would also be a great plus. I think there would be great need for this kind of utility. Anyone?
>
>The "scatter name" command does some of what you want. You could make an aggregate object with methods and a reference to the "name" object.

Except the objects created with SCATTER NAME don't have a SaveAsClass method.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform