Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BO Hook Method, post validate, pre save
Message
De
11/10/2010 14:17:56
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
11/10/2010 13:26:25
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01484763
Message ID:
01484777
Vues:
33
>Hi,
>
>what method should I use to run some code that should run after all rules have passed but prior to the save occurring on a BO?


Hi Frank,

There isn't a hook method for that, but you can create a custom subclass of the data access class and override the SaveDataSet() method as this method doesn't run until after the business rules have been passed. There is plenty of code in there, so after you do what you need, don't forget to call the base method so the base code would still run.

Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform