Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling FK errors...
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00950482
Message ID:
00950488
Views:
14
My approach to this is a little different.

In my business rule layer I check to make sure the FK relationships are good before saving the item.

your business rule should present a user understandable error to the user.

Also in the case of deletes I would also check to make sure the item can be deleted before trying the delete. I would also present a user understandable error.

Rodman
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform