Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CheckRulesHook Best Practices
Message
 
À
27/04/2005 09:26:18
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01008812
Message ID:
01009558
Vues:
18
Joe,

>I've noticed various ways to use the CheckRuleHook.
>It seems that one might work better with child objects and the other with parent objects.
>Could someone help indicate what the idea behind each of the following syntaxes is and when whould each be used?

In one case, the business rule object is checking business rules for all rows, and in the other case it's checking the current row. The current row checking is suited for situations where you only allow the edit of a single DataRow at a time. The "all rows" checking is suited for situations where you allow users to change all rows in a DataTable.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform