Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business rules Not checking all rows
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01179257
Message ID:
01179642
Vues:
11
Brian,

>I’m filling a bo (oExportDetail) with records for several sources then I’m trying to get it to run the business rules on the records by firing its save action. I expected it to run the rules on all the records but it appears to stop at the first record to break a rule.
>Is there a way to have it check all the rows?

The MM .NET 2.3 Business Layer Generator has a new "Multiple Row Check" check box under Business Rules which, if selected, generates code to check multiple rows in the business rule object. You can do this yourself if you are not using MM .NET 2.3 by following the instructions in the MM .NET Dev Guide topic "Creating Custom Business Rule Objects | Checking Rules in Multiple DataRows".

Best 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