Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event Class?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00670515
Message ID:
00673785
Vues:
19
John,

"event class" is just another term for a "business process" class. It represents a business event/process like yours. There's nothing really special to it. You could create a base event class that has some basic methods and properties and then subclass this class and put some special code in it, in order to have it done what you want.

HTH,
Armin

>Hi,
>Actually, I have a staff class. If user want to delete the particular staff record, I want to perform cascade delete for related table. Of course, we can use trigger, but if there are from different database or platform I may need to perform this operation when delete user record. Where should I place the code of cascade delete, business class, datasource class?
>
>A member did tell me to have event class. However, I am not sure clear about it.
>
>Thank you

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform