Posts by Renan Valentim • 78 points
5 posts
-
1
votes1
answer468
viewsA: Transactionscope - Rollback problem
I found the problem! Now Rollback is working. It has everything to do with TransactionScopeOption.RequiresNew vs Transactionscopeoption.Required. Look at the solution: My 1st Transactionscope…
-
2
votes1
answer468
viewsQ: Transactionscope - Rollback problem
I need the Transactionscope do Rollback case any of these foreach error. I added a Exception manually between 2º and 3º foreach to test whether the rollback, but the information saved in the bank of…
-
0
votes0
answers136
viewsQ: dbContext static with Entity Framework: Compensates or not?
Guys, I use Entity Framework and Code First to manage my data access, and I’m thinking of working with a single instance, static and global of my Databasecontext. But I have two questions: What…
-
1
votes1
answer747
viewsQ: Best way to implement Toledo Prix 4Uno scale?
Good afternoon, I acquired a Prix 4Uno scale with communication via ethernet. I wonder if there are examples in C# to implement communication with it, or if it is only via MGV 6 software. Any…
-
2
votes1
answer93
viewsA: Transactionscope with multiple Storedprocedures
If the first Storedprocedure SP1 issues a commit, the changes that have already been made will be permanent. In this case, if SP2 fails, the changes made by SP1 will not be reversed. Either you…