Problem with duplicate dependent properties

Problem with duplicate dependent properties

Old forum URL: forums.lhotka.net/forums/t/6384.aspx


hrm posted on Monday, February 09, 2009

Hello,

Suggestion: ValidationRulesManager.AddDependentProperty() should check, if the dependent property has already been added to the list.


Otherwise calling ValidationRules.AddDependentProperty from a class' AddInstanceBusinessRules override results in a long list of duplicate dependent properties and almost never ending validation :).

Copyright (c) Marimer LLC