Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business rules Not checking all rows
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01179257
Message ID:
01179642
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform