Posts by Accorsi • 43 points
3 posts
-
1
votes1
answer116
viewsQ: Foreach of a Class properties and display in the View
I have a view on Asp.net mvc as follows var Maquina = Model.ListMaquinas; @Html.DisplayNameFor(x => Maquina.Property1 ) @Html.DisplayNameFor(x => Maquina.Property2 ) ... @Html.DisplayNameFor(x…
-
1
votes2
answers75
viewsA: Entityframework recursive query triggering Exception
I found out what was going on. A method that calls a second method that in turn called the first again. This caused the Exception. Unfortunately Visual Studio described that way hindered the…
-
2
votes2
answers75
viewsQ: Entityframework recursive query triggering Exception
When performing the query with recursion an Exception is occurring: Equipe.RelatorioRH.Single(x => x.IdRodada == IdRodada) 'Entityframeworkdynamicproxies-Model' metadata is invalid. If you are…