Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Rules and Default Values don't work!?
Message
De
24/05/2005 00:49:04
Dave Porter
Medical Systematics, Inc.
Merced, Californie, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01016948
Message ID:
01016968
Vues:
15
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?
>

on the if statement
you guessed right this.DefaultValues is an undefined value. Is that the same as null?
Where would I assign a value to this.DefaultValues OR am I testing the wrong thing?

>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?

Would you believe I don't know... what is the line of code in the Jump Start that saves the business object? Where would/should it be?

>I don't see anything right away that looks wrong with the rule, if you put a >breakpoint in CheckForDuplicateICDACode does it get there?

Yes the CheckForDuplicateICDACode code gets executed...

Thanks for your help, sorry I am so clueless... Dave
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform