Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have these tables represent on the following pieces of code;

[StringLength(30)]
public string Email { get; set; }

[NotMapped] // is not doing anything on the table neither razor views.
[Compare("Email", ErrorMessage ="Los emails no coinciden")]
public string ConfirmarEmail { get; set; } 


What I have tried:

It's supposed to create a razor view but not a table, it's supposed to do the previous statement but for some reasons it does not create the razor view, besides when I create it on the view "Compare" is not working either.

Do you guys have any answer to this concern?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900