Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exception thrown in Rules when deleting
Message
 
To
04/10/2006 16:29:48
Stan Blatti
Shelby Residential & Vocational Services
Memphis, Tennessee, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01159518
Message ID:
01159953
Views:
19
Stan,

>I get the following error when trying to use MyObject.SaveDataSet (MyDataTableName.TableName) to update the database after several deletions on the datatable: "Deleted row information cannot be accessed through the row."
>I only get the error if I have rules that are being validated as broken rules or warnings. I am using MM 2.2 ver where Entity classes are used and the actual Exception is triggered when entity values are addressed.

It sounds like you have ImmediateDelete set to false for your business objects. Check out the MM .NET Dev Guide topic "ImmediateDelete: Immediately Deleting from the Database". It shows you how to get around this issue in your rule code.

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
Next
Reply
Map
View

Click here to load this message in the networking platform