D'Arcy from Winnipeg
Solution Architecture, Business & Entrepreneurship, Microsoft, and Adoption

Catching Exceptions from an Object Data Source

Thursday, February 23, 2006 11:30 AM

I kept getting SQL FK exceptions in an app I'm working on, but wasn't sure how to actually catch the exception since an underlying object to an object data source was throwing it.

Turns out that its really easy. One of the events ODS's have is called Deleted. The event args for this give you access to both the exception and whether the exception was handled by the object.

Happy happy, joy joy.



# re: Catching Exceptions from an Object Data Source


I was looking through some metadata about my blog, and saw that you had a blog too! Thanks for linking to me! I'm adding you to my blogroll on my site.

We gotta go grab lunch again soon!

Keith. 2/24/2006 6:15 AM | Keith

Post a comment