Information générale
Catégorie:
Codage, syntaxe et commandes
Thanks Martin
> 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 have not come across session objects yet. They sound very useful, can you point me towards some example code or articles:)
>
>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.
I do not have objections to creating classes in code as such, it is just that I have gotten used to creating them in the project manager. It has always struck me as a tidy way of managing them.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement