Skip to content

Commit 9bcc73f

Browse files
authored
Update batch-delete.md
1 parent 7d552d5 commit 9bcc73f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs2/pages/documentations/batch-delete.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
2121
.Delete(x => x.BatchSize = 1000);
2222

2323
```
24+
{% include component-try-it.html href='https://dotnetfiddle.net/R6D5BX' %}
2425

2526
## Batch Delete
2627

@@ -46,6 +47,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
4647
.Delete();
4748

4849
```
50+
{% include component-try-it.html href='https://dotnetfiddle.net/DTWmh1' %}
4951

5052
## Batch DeleteAsync
5153

@@ -71,6 +73,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
7173
.DeleteAsync();
7274

7375
```
76+
{% include component-try-it.html href='https://dotnetfiddle.net/KUHvru' %}
7477

7578
## Batch Size
7679

@@ -94,6 +97,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
9497
.Delete(x => x.BatchSize = 1000);
9598

9699
```
100+
{% include component-try-it.html href='https://dotnetfiddle.net/c6TLU3' %}
97101

98102
## Batch Delay Interval
99103

@@ -118,6 +122,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
118122
.Delete(x => x.BatchDelayInterval = 2000);
119123

120124
```
125+
{% include component-try-it.html href='https://dotnetfiddle.net/to4sjm' %}
121126

122127
## Executing Interceptor
123128

@@ -141,6 +146,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
141146
.Delete(x => { x.Executing = command => commandText = command.CommandText; });
142147

143148
```
149+
{% include component-try-it.html href='https://dotnetfiddle.net/VOEdOD' %}
144150

145151
## EF Core InMemory
146152

@@ -191,4 +197,4 @@ Limitations should all be removed by the end of 2016.
191197

192198
Need help getting started? [[email protected]](mailto:[email protected])
193199

194-
We welcome all comments, ideas and suggestions to improve our library.
200+
We welcome all comments, ideas and suggestions to improve our library.

0 commit comments

Comments
 (0)