https://github.com/dotnet/efcore/issues/26042
Ну и то, что в EF Core нет SELECT FOR UPDATE отдельный вопрос
Ну и то, что в EF Core нет SELECT FOR UPDATE отдельный вопрос
GitHub
Support SELECT FOR UPDATE / UPDLOCK (pessimistic concurrency) · Issue #26042 · dotnet/efcore
I want to garantee that only one Api Request (Database Transaction) can modify an entity at a given time. this could be done by selecting a row with "SELECT FOR UPDATE" inside a transacti...