Posts by Jalber Romano • 31 points
5 posts
-
0
votes1
answer19
viewsQ: How to update the fields of a table based on other records of the same table - Postgre
I have a table called SERTAB and I need to update all the "value" fields of all Branch 2 records based on branch 1 records, that is, the two branches have the same amount of records or not, but if…
-
0
votes1
answer38
viewsQ: How do I verify that an entity is tracked with Entity framework Core 2.0.3?
In my repository, I need to create a function that returns a "boolean" informing me if an Entity is being "Tracked". I need to do this, because when I do an "update" of the same entity more than…
-
0
votes1
answer24
viewsQ: How to prevent the focusout event from firing when minimizing the browser?
I’m using the focusout event to call a function when the field loses focus. The problem is that when I minimize the browser window, the event fires because it seems to lose focus. The same occurs…
-
1
votes1
answer18
viewsQ: Problems getting a Viewmodel with decimal values using Ajax
When you Get using Ajax, viewModel is coming to the Controller with the fields reset. I’m creating the class manually, converting it and doing the GET. I cannot figure out the reason for the…
-
1
votes2
answers261
viewsQ: How to validate if one date is longer than the other considering day, month and year
I need to validate if the "Current Date" is larger than the "Due Date", but it seems that Moment.js only compares the days and does not take month/year into account. var dataAtual = moment(new…