Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Biz Objects..create programatically or with Class builde
Message
 
 
À
03/01/2001 06:41:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00458828
Message ID:
00458957
Vues:
26
>I am considering using a business object for part of an app.
>I could write the entire biz object programmatically I guess (with additional work!) , but then I would be left with the problem of getting the class visible in my class library.

Hi, Mark.

What problem ddo you have writing your class as a PRG? My election for bizobjects has been Session Objects since they exists. Before that, we used our own custom class that was based in a line indeed.

Session objects are lighweight and give you the benefit of isolating your datasession. They are good as COM servers, too.

Actually we have a session subclass that represents our abstract classes, and another subclass level for the bizobjects. From that last we subclass the actual REAL ones (customer, product, and so on).

This give you a lot of flexibility.

I don't understand what do you mean with "getting the class visible in my class library". Of course, with a PRG based class you don't have it in the class toolbar, but you can instantiate it with CreateObject or AddObject.

My 2 pesos.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform