Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NavigateData
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01229205
Message ID:
01232269
Vues:
24
Hi!

>
A child business object should go through its own data.
>
Agreed but I am not sure how, and that is my question. I thought that if the BO has a Navigate Method I could use it.


Here is a case that we have:
This Application needs to run with a UI (WinForm) and without a UI (run through Windows Scheduler) as well. Both do exactly the same thing.

We have a QueBO (Parent) and a QueDetailBO (Child) One-to-many relationship.
The QueBO has properties like Name, Email, Active etc.
The QueDetailBO has properties like SourceFolder, TargetFolder, Active etc.

While running this Application through Windows Scheduler (No UI) A Handler BO needs to load all Active QueBO's (Parent) and for each Active Parent Loop through all Active QueDetailBO's (Child) and process each row in the Child BO (i.e. Copy/Move Files from the SourceFolder to the TargetFolder, update tables, send emails etc.) and it is here that I want to move from one row to another in the Child BO.

How do I Navigate from one row to another in the Child BO if there is no Navigate Method in the BO? Keep in mind that there is no Form Object avaiable (No UI) in this mode (we call this Silent/Batch Mode)

What do you recommend as a Best practice in this case?

Thanks

Sarosh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform