Posts by Rafael Arthur • 35 points
3 posts
-
2
votes1
answer105
viewsQ: Include in Entity Framework from an Enumerable
I have the following entities: public class Rota { public Rota() { CidadesRotas = new List<CidadesRota>(); } public int RotaId { get; set; } public string Descricao { get; set; } public string…
-
0
votes0
answers851
viewsQ: IDENTITY_INSERT is set to OFF - Entity Framework Core
I’m working on an application with Asp.net-core + Entity-framework-core and with mapping and configuration via Fluent-api. When I go into the bank I get the error that the IDENTITY_INSERT is defined…
-
1
votes1
answer231
viewsQ: How to display Modelstate errors when POST is done by AJAX?
Hi, I’m developing an Asp.net core 2.0 application. I have a div with Asp-validation-Summary for displaying model errors. follow: <div asp-validation-summary="All" class="validation-summary alert…