I created an mvc 4 web project using database first and entity framework but was surprised to see that default models were not generated automatically, is there a way to create them from my .edmx file or are there any other possibilities to save hand coding them?
Any help would be much appreciated
UPDATE:
Sorry, should have mentioned I am looking for a solution to generate simple models with basic methods such as :
public class EditUserModel
{
public int ID { get; set; }
[Required(ErrorMessage = "Forename is required")]
public string Forename { get; set; }
[Required(ErrorMessage = "Surname is required")]
public string Surname { get; set; }
[Required(ErrorMessage = "Username is required")]
public string Username { get; set; }
}