miércoles, 27 de enero de 2016

Compare Attribute (ambiguios)

I work on the tutorial MusicStore of Jon Galloway and I found a problem with the Attribute Compare, because this attribute is ambiguios and in the original code only apper "Compare".

MSDN say:  "The recommended alternative is to use the System.ComponentModel.DataAnnotations.CompareAttribute type, which has the same functionality as this type."

In the first figure you can see the problem, in the second figure the soluction.





Figure 1.





Figure 2.
















No hay comentarios.:

Publicar un comentario