Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BO Hook Method, post validate, pre save
Message
From
11/10/2010 14:17:56
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
11/10/2010 13:26:25
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01484763
Message ID:
01484777
Views:
34
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform