Last post Feb 16, 2011 12:00 PM by cts-mgraham
Jan 23, 2011 12:12 PM|wgcampbell|LINK
Hi - just starting with DD - following some of the videos and tutorials.
I've got the following override method:
public partial class user
partial void Onusr_salChanging(string value)
if (value != null && value.Substring(0, 1) != value.Substring(0, 1).ToUpper())
throw new ValidationException("Titles must start with an upper case letter!");
Jan 23, 2011 12:24 PM|sjnaughton|LINK
I think that normal [:)] in debug mode it does tend to catch exceptions then.
Dynamic Data 4
Jan 23, 2011 01:06 PM|wgcampbell|LINK
Thanks for the reply.
I was basically following the example here:
The presenter ran the example in debugger mode - he didn't get the exception - his validation code handled the exception as you would expect.
That's why I'm wondering if it's not a specific visual studio debugger setting (I'm running VS2010 express)?
Jan 23, 2011 01:30 PM|sjnaughton|LINK
I'm not sure I get the same issue hit and miss [:(]
Feb 16, 2011 12:00 PM|cts-mgraham|LINK
I've seen this issue with Visual Studio on 64-bit machines. Have you tried pointing it to IIS Express?
Is your machine 64 bit? I don't have VS Express to test on here.