Posts by WilsonM • 21 points
2 posts
-
2
votes2
answers442
viewsA: Code First with Complex Types, when making Scaffolding the properties of Complex Types are not found in the views
Change your class this way: public class Empresa { public int EmpresaId { get; set; } public string Nome { get; set; } public int EnderecoID { get; set; } public virtual Endereco Endereco { get;…
-
0
votes2
answers808
viewsA: Scaffolding ASP.NET giving error
You have already rebuilt your application ? if you are scaffolding you need to rebuild after changing the properties of a class.