question

nickv avatar image
0 Votes"
nickv asked DuaneArnold-0443 commented

Calling stored procedure using transaction - EF Core & Oracle

Hello all,

I have been struggling to figure out how to call a stored procedure transactionally, and get EF to be aware of the changes made by my stored procedure. My stored procedure will make a tweak to some table's data, and when I get back to EF, the changes are not present in EF. I was attempting to use Context.BeginTransaction(), but can't seem to figure this out. Does anyone have any advice or articles on this?

dotnet-entity-framework-core
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Maybe you're not using System.Transaction right. I can't see EF knowing what a stored procedure is doing or has done.

0 Votes 0 ·

0 Answers