Skip to content

Commit 8e155df

Browse files
author
zzzprojects
committed
Changing faq order
Changing faq order
1 parent 07ca369 commit 8e155df

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

docs/pages/api/bulk-delete.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,16 @@ context.BulkDelete(customers, options => options.ColumnPrimaryKeyExpression = cu
7676
### How can I include child entities (Entity Graph)?
7777
You cannot. Due to the risk of mistake, we preferred our offering this options and make sure every entity you wish to `delete` is specified.
7878

79-
### Why BulkDelete is faster than BulkSaveChanges?
80-
The major difference between both methods is `BulkSaveChanges` use the `ChangeTracker` but not the `BulkDelete` method.
81-
82-
By skipping the `ChangeTracker`, some methods like `DetectChanges` are no longer required which greatly helps to improve the performance.
83-
8479
### Why BulkDelete doesn't use the ChangeTracker?
8580
To provide the best performance as possible!
8681

8782
Since using the `ChangeTracker` can greatly reduce performance, we choose to let `BulkSaveChanges` method to handle scenario with `ChangeTracker` and `BulkDelete` scenario without it.
8883

84+
### Why BulkDelete is faster than BulkSaveChanges?
85+
The major difference between both methods is `BulkSaveChanges` use the `ChangeTracker` but not the `BulkDelete` method.
86+
87+
By skipping the `ChangeTracker`, some methods like `DetectChanges` are no longer required which greatly helps to improve the performance.
88+
8989
## Related Articles
9090

9191
- [How to Benchmark?](benchmark)

docs/pages/api/bulk-insert.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@ Read more: [IncludeGraph](/include-graph)
7979
context.BulkInsert(list, options => options.IncludeGraph = true);
8080
{% endhighlight %}
8181

82-
### Why BulkInsert is faster than BulkSaveChanges?
83-
The major difference between both methods is `BulkSaveChanges` use the `ChangeTracker` but not the `BulkInsert` method.
84-
85-
By skipping the `ChangeTracker`, some methods like `Add`, `AddRange`, `DetectChanges` are no longer required which greatly helps to improve the performance.
86-
8782
### Why BulkInsert doesn't use the ChangeTracker?
8883
To provide the best performance as possible!
8984

9085
Since using the `ChangeTracker` can greatly reduce performance, we choose to let `BulkSaveChanges` method to handle scenario with `ChangeTracker` and `BulkInsert` scenario without it.
9186

87+
### Why BulkInsert is faster than BulkSaveChanges?
88+
The major difference between both methods is `BulkSaveChanges` use the `ChangeTracker` but not the `BulkInsert` method.
89+
90+
By skipping the `ChangeTracker`, some methods like `Add`, `AddRange`, `DetectChanges` are no longer required which greatly helps to improve the performance.
91+
9292
## Related Articles
9393

9494
- [How to Benchmark?](benchmark)

docs/pages/api/bulk-update.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,16 @@ Read more: [IncludeGraph](/include-graph)
9393
context.BulkUpdate(list, options => options.IncludeGraph = true);
9494
{% endhighlight %}
9595

96-
### Why BulkUpdate is faster than BulkSaveChanges?
97-
The major difference between both methods is `BulkSaveChanges` use the `ChangeTracker` but not the `BulkUpdate` method.
98-
99-
By skipping the `ChangeTracker`, some methods like `DetectChanges` are no longer required which greatly helps to improve the performance.
100-
10196
### Why BulkUpdate doesn't use the ChangeTracker?
10297
To provide the best performance as possible!
10398

10499
Since using the `ChangeTracker` can greatly reduce performance, we choose to let `BulkSaveChanges` method to handle scenario with `ChangeTracker` and `BulkUpdate` scenario without it.
105100

101+
### Why BulkUpdate is faster than BulkSaveChanges?
102+
The major difference between both methods is `BulkSaveChanges` use the `ChangeTracker` but not the `BulkUpdate` method.
103+
104+
By skipping the `ChangeTracker`, some methods like `DetectChanges` are no longer required which greatly helps to improve the performance.
105+
106106
## Related Articles
107107

108108
- [How to Benchmark?](benchmark)

0 commit comments

Comments
 (0)