Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Rules not checked on add?
Message
 
To
16/11/2007 14:42:09
Alan Hoiland
Canadian Natural Resources Ltd.
Calgary, Alberta, Canada
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01268918
Message ID:
01269910
Views:
14
Alan,

>Not sure if we are on the same page, Kevin. I am talking about saving a new DB row and we want to ensure a column has certain values before actually hitting the DB. Are your business rules only called when updating values???

You're right...we were on a different page. I thought you were asking about checking rules as soon as a new row was added...

Business rules are checked on both new and updated rows when you save data. What are you doing to add a new row? The best way to do this is call NewEntity().

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