Posts by Paulo Maurício • 85 points
4 posts
-
3
votes1
answer269
viewsQ: Update-database -script in EF Core
In EF6 I could run the "update-database -script" command from Migrations to see the script that would run in the database. How do I get this in EF Core?
-
0
votes3
answers403
viewsA: Log reading to infer counter
To deal with this competition problem, I create the entity in question and another controlling entity. So: 1- create the main entity, in this case: Request public class Request { public Guid…
-
5
votes4
answers362
viewsA: How do I skip the "Finally" block, in C#, when the exception is generated?
The purpose of the block Finally is to be executed both after the execution of the block Try, when after any block catch. There’s no "skip it". When we start some process in the block Try, that…
-
0
votes1
answer444
viewsQ: Automapper Relationship one for many - Model to Viewmodel (and vice versa)
MVC scenario, where Controller talks to Application who talks to Domain. I’m trying to map one to many with Automapper. This is my Model: public class Estado { public Guid EstadoId { get; set; }…