Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

EF Core Transaction Changes

$
0
0

is there a Property which indicates that there changes were made within a Transaction?

I use a Transaction inside a Razor-Component and when the user is a about to exit the Page I want to ask if he wants to apply or rollback his changes, but I only want to ask if there are changes were made.

Something like DbContext.ChangeTracker.Entries but in the context of IDbContextTransaction.

Thanks for your help!


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>