Posts by Gabriel Candez • 116 points
3 posts
-
5
votes3
answers280
viewsA: Log tables should have Foreign Keys?
For ease let’s assume that the records you quoted are Usuários and you have a table to record their activities. This table of activities, let’s call it logs records, say, the user’s date/time and IP…
-
4
votes3
answers404
viewsA: How do you test something "unstoppable"?
That’s what mocking is for. I will explain using an example: Obs: I will use C# for the code examples, but the syntax is very similar to that of Java soon will be very easy to understand. Obs²: C#…
-
1
votes1
answer105
viewsA: Backgroundworker does not receive selected Combobox value
Most likely the "System.Invalidoperationexception" exception refers to "Cross-thread Operation not Valid". This is because it is only possible to make changes in a Form control by the thread in…