dotnet / dotnet/EntityFramework.Docs

Document how insert/update/delete statements are ordered when SaveChanges is called

Open
#1,493 0 comments 0 reactions 0 assignees View on GitHub
area-save-changes
Dominant language
Mermaid
Stars
1.7k
Forks
2k
Avg merge
7d 23h
Merged PRs (30d)
16

Description

Is there a sequence of sql statements when savechanges is called? or should we assume they are arbitrary and just use transactions if we want them to occur in sequence?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 23f8db8b-8ee6-86c9-7cb2-b5802214ec13
* Version Independent ID: b959839c-684e-5d60-650e-0af17c971c79
* Content: [Basic Save - EF Core](https://docs.microsoft.com/en-us/ef/core/saving/basic)
* Content Source: [entity-framework/core/saving/basic.md](https://github.com/aspnet/EntityFramework.Docs/blob/master/entity-framework/core/saving/basic.md)
* Product: **entity-framework**
* Technology: **entity-framework-core**
* GitHub Login: @rowanmiller
* Microsoft Alias: **divega**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.