Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Rules and Default Values don't work!?
Message
 
To
23/05/2005 23:40:01
Dave Porter
Medical Systematics, Inc.
Merced, California, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01016948
Message ID:
01016959
Views:
11
protected override void HookSetDefaultValues(DataRow dataRow)
		{
			if (this.DefaultValues != null)
I don't see where you set this.DefaultValues, so I'm guessing this.DefaultValues == null. Can you set a breakpoint on the if statement and make sure that .DefaultValues isn't an undefined value?

When you say the broken rules are never reported, how are you saving your business object? I mean, what's the line of code that saves it? I don't see anything right away that looks wrong with the rule, if you put a breakpoint in CheckForDuplicateICDACode does it get there?

Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform