Hi all, Say I have a car. Car has Make and Model. Then I have terms. Terms can apply to an entire Make, or they can apply to a particular Model.
A Term in the database would be TermID, TermType, Make, Model, Description. I don't have the ability to change the table structure. So I have TermType (can be Make, or Model) Then if Make is selected for TermType then the Make is required (Model would be NULL) and if Model is selected for TermType then the Make and the Model are both required. In my metadata class, if I put a required attribute on the Model property, then it will fail validation when the TermType is set to Make. That's not desirable. It should allow Model to be null if that's the case, but require Model if the TermType is set to Model. So the question is, how would I set my metadata class to enforce this rule? Regards, Tony _______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
