I am just worrying about deadlock when I 'll use transaction.
What's the data destination, a MS SQL Server or ...?
You can not completly avoid deadlocks, they happens in real world.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I want to perform a quick transaction using ef core 6.
This mechanism should be defined in such a way that a deadlock 'll never be happened/occured.
In my code logic, I am sometimes inserting in database entities through
_dbcontext.payments.add( new payment(){amount=20});
and there are some updates and the remaining ones are related to stored procedures call.
inserts and updates in it.
Can anyone suggest me some excellent way to implement a transaction or a best way to avoid deadlocks/blocking here.
I want to complete the commit to either complete or revert/abort the work.
Thank you so much
I am just worrying about deadlock when I 'll use transaction.
What's the data destination, a MS SQL Server or ...?
You can not completly avoid deadlocks, they happens in real world.