i have 2 properties int MinValue int MaxValue I have to create a data annotation attribute to validate this it should say 1)"MinValue should be less than MaxValue" if MinValue and MaxValue are not zero. 2)it should not compare the two values if both MinValue and MaxValue are zero(0).
any input from you to achieve this will help me sure in doing this