Posts by Matheus Oliveira • 51 points
4 posts
-
0
votes1
answer71
viewsA: Entity Framework Core 2 - Recursive research into many-to-many relationships
Well, according to that post, this seems to be a pattern of EF Core 2 and the correct is to use DTO + Projection. Using the tutorial at that link, I developed the following: DTO class with a service…
-
0
votes1
answer71
viewsQ: Entity Framework Core 2 - Recursive research into many-to-many relationships
I made a many-to-many relationship using EF Core 2, Code First method. Second seen at that link, it is necessary to create a Join entity: public class ClienteModel { public int ClienteId { get; set;…
-
1
votes1
answer785
viewsA: Error when trying to connect to SQL Server from webservice on IIS 7.5
The problem was an IP access block on the SQL server. IIS 7.5 was on the same network as SQL and I was using an external IP to access it, but I should use an internal IP. The other server accessed…
-
4
votes1
answer785
viewsQ: Error when trying to connect to SQL Server from webservice on IIS 7.5
I am getting some errors when trying to perform a query in SQL Server from a Webservice hosted on an IIS 7.5 server. My connectionString on the web.config: <connectionStrings> <remove…