Marcoelho97
❔ Asp-all-route-data's initial value is changed with asp-route-*
So, I have:
And I have After this foreach, my parms value will have changed tot he last one in my ViewBag.Tipos I don't understand why this is happening and/or how to prevent it :(
And I have After this foreach, my parms value will have changed tot he last one in my ViewBag.Tipos I don't understand why this is happening and/or how to prevent it :(
2 replies
❔ System.NullReferenceException 'Object reference not set to an instance of an object.'
Hello!
I'm getting a little desperate here:
This is my index code:
This is my index.cshtml:
Why do I get this exception? I've been at it for over an hour, I'm new at this, and I'm very confused
7 replies
✅ Multiple one to many relationships
I've just recently started using ASP.NET and I ran into a bit of a wall
Basically:
How do I make a migration of this? I'm getting "Unable to determine the relationship represented by navigation 'ApplicationUser.EntregasRecolhas' of type 'ICollection<Reserva>'. Either manually configure the relationship, or ignore this property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'."
And I don't know how to proceed without having to manually do it ( which I don't know how to do it either )
7 replies