Created
June 22, 2011 16:19
-
-
Save waldyrfelix/1040468 to your computer and use it in GitHub Desktop.
Exemplo de uso do ComparaPropriedades
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ComparaPropriedades("Senha", "ConfirmacaoDaSenha", ErrorMessage="A confirmação da senha não bate com a senha original")] | |
public class CadastroDeLoginViewModel | |
{ | |
public string Login { get; set; } | |
public string Senha { get; set; } | |
public string ConfirmacaoDaSenha { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment