Posts by Ramon Almeida • 382 points
14 posts
-
1
votes1
answer40
viewsQ: How to identify words that start with a character and end with the same plus a space using regex?
/(\*[ ]|\_|\~|\@\@|\%\%)([^\s].*?)\1/gm When I add the expression *[ ] (highlighted in red) to consider the space after the * it starts to consider everywhere and I need it to be only at the end of…
-
0
votes0
answers12
viewsQ: How to remove extra return tags added by Soapcore?
When using Soapcore no . NET Core 3.1 to incorporate SOAP behavior in my application everything happens as expected, with the exception of the return of two extra tags that inherit the service name…
-
1
votes1
answer187
viewsA: Exception released when deleting registry using Entity Framework Core. How to resolve?
The problem is not the moment we try to delete, but when we get the object through EF Core before exlcuiring. The problem is because EF Core does not allow changing and deleting objects mapped by…
-
0
votes1
answer187
viewsQ: Exception released when deleting registry using Entity Framework Core. How to resolve?
When trying to delete registration of entities "Patients" and "Doctors" is returned an exception. The strange thing is that for the entity of "Schedules" everything happens normally. Follows the…
-
1
votes1
answer32
viewsA: C# File path on other machines
I believe that using Appdomain.CurrentDomain.Basedirectory you solve this problem. I used this resource in the example below and it worked.…
c#answered Ramon Almeida 382 -
1
votes1
answer384
viewsA: How to order double chained list without affecting the original list?
To solve this problem, I followed the following steps: Create a Data Type Arraylist which in this case is Candidate. ArrayList<Candidato> copiaLDE = new ArrayList(); EstruturaDeDados…
-
0
votes3
answers81
viewsA: How do I resolve this error by trying to delete a specific node from a chained double list?
Friend, apparently your delete function has not yet been implemented. If it has already been implemented and is in another part of the archive, please post here. But here’s an example I did in Java:…
-
1
votes1
answer384
viewsQ: How to order double chained list without affecting the original list?
Hello! So far, I have been able to implement all the methods on the list, including the sort method. However, the problem is that when ordering, even creating a new list and making it receive the…
-
1
votes1
answer54
viewsQ: Is there a Java method equivalent to C#’s Padright()?
I need to fill a string with blanks if I don’t use all the space. In C#, briefly I do as follows: Console.WriteLine("-----------------------------------------------------------------------");…
javaasked Ramon Almeida 382 -
1
votes2
answers166
viewsQ: How to return the name of an instance of a class?
To avoid having to manually type the data after an update to the objects, I decided to create a method of type static to be accessed by passing the object as parameter. public static void…
-
0
votes1
answer160
viewsQ: Execution console hangs while doing many readings in debug mode!
In an attempt to debug the code for errors, I often need to enter the requested data, but it is not always possible to reach the end of the program because the execution of the debug via "F10" or…
-
0
votes1
answer2414
viewsQ: Is it possible to change the theme or colors of the Workbench?
I’d like to leave the background black to dull the vision less. Thank you in advance!
-
7
votes1
answer121
viewsQ: Is it possible to change more than one record at a time?
That is the code: UPDATE PESSOAS SET COR = ('Pardo') WHERE ID = 1; But I have 2 more records to do the same procedure, I could do everything at once adding the ID?…
-
8
votes2
answers10963
viewsQ: What is the difference between SET and ENUM in Mysql?
What are the differences between SET and ENUM in Mysql? And in what situations both are best applied?