Posts by Ricardo Soares • 29 points
12 posts
-
0
votes0
answers24
viewsQ: Unilateral Relationship EF sql Server
I have a problem in the relationship of entities with the Entity Framework Core v3.1.5, Code First I have entity Cliente relating to the entity DadosProfissional and my problem is, when I register a…
-
0
votes1
answer29
viewsA: convert string to double Elasticsearch
I managed to solve it, so I’m posting the answer in case anyone needs it "int cod = 0; if(doc['codProduto.keyword'].empty){return 0;}else{cod = Integer.parseInt(doc['codProduto.keyword'].value);}…
-
-1
votes1
answer29
viewsQ: convert string to double Elasticsearch
Hello, folks are in need of a help with Elasticsearch. I’m trying to do a script conversion, from a string field, to double, but unfortunately, I’m not getting it. the last script I did was this:…
-
-1
votes1
answer31
viewsQ: Notifying the Browser via backend
So, I’m making a method that generates a pdf, but since the file is large, I thought to "warn" the browser when the file is finished. This can be done with Signalr? thank you guys! abs
-
1
votes1
answer61
viewsQ: encoding formatting . net
all right? With a problem that is as follows: I recover the html of a legacy system and, I need to change this html pa then return to the browser with the new html. But when I recover this report…
-
1
votes1
answer60
viewsQ: Compress a file saved in Database
good afternoon! I have a file that is saved in bank, and I need to zip this file, when you download it. How do I do it? Thank you very much for your support
-
0
votes1
answer326
viewsQ: How do I change the csv header, C#
I’m generating a CSV file, but I’d like the header was the same as anottation displayname. When I export, the displayname is ignored. call of the method string csv = ListToCSV(resultado); private…
-
0
votes1
answer657
viewsQ: Report with Rotary mvc
I’m having trouble generating a report on mvc, using the rotary. The problem is that it generates the pdf, as if I have been ignoring the html, it is all without formatting. ob.: for htm formatting,…
-
0
votes0
answers32
viewsQ: Error loading partialView
I have a curious problem. I created a page that lists records and it has two links, one to delete and the other to display details. Both call for a modal. Each modal is a modal partialView. To…
-
0
votes1
answer30
viewsQ: record does not update with EF
I have a bit of a problem, on the screen, I change the value of the field, and when saved, it does not generate the error, and also does not save. The flow follows, as if there were no problem that…
-
0
votes0
answers265
viewsQ: Error with Automapper
i have trouble mapping child classes in automapper, qndo do viewModel for model. Has anyone ever had that kind of problem? thank you very much I’ll post the classes public class…
-
0
votes1
answer224
viewsQ: Error updating Record with EF
I’m having a hard time updating a record, using Ef. Relationship key conflict error. As if I’ve been trying to add and not update. Additional information: A referential Integrity Constraint…