Skip to main content
Home Forums Silverlight Programming WCF RIA Services How do I catch errors using .NET Ria Services and Linq to SQL
1 replies. Latest Post by bryant on November 3, 2009.
(0)
LarryDev
Member
29 points
36 Posts
11-03-2009 9:46 AM |
Hello. I was adding an additional field to my LinqToSql Class and I forgot to set the nullable option to true. Then I have a bound textbox in my application using that field. I left the field blank and then tried to call SubmitChanges(OnSubmitCompeleted, null) and it looks like it worked and my SubmitOperation error remains null so everything looks good but then come to find out the record did not save.
I want the field to be null but can someone please tell me what I am doing wrong that I do not get a message back that the operation did not actually save anything?
Thanks. Larry.
bryant
Star
9937 points
1,629 Posts
11-03-2009 6:37 PM |
The SubmitOperation.HasError should be true. If it isn't, please post the code you're using se we can try to figure it out.