Skip to content

Commit d7f250e

Browse files
Merge pull request #397 from Lempireqc/master
add fiddle
2 parents 79b1cc1 + 8f98af2 commit d7f250e

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

docs2/pages/documentations/audit.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ audit.CreatedBy = "ZZZ Projects"; // Optional
653653
ctx.SaveChanges(audit);
654654

655655
```
656+
{% include component-try-it.html href='https://dotnetfiddle.net/lC7eWg' %}
656657

657658
## Audit + Entity Framework Extensions
658659

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.

docs2/pages/documentations/batch-update.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
1717
.Update(x => new User() { IsSoftDeleted = 1 });
1818

1919
```
20+
{% include component-try-it.html href='https://dotnetfiddle.net/uzsdub' %}
2021

2122
## Batch Update
2223

@@ -39,6 +40,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
3940
.Update(x => new User() { IsSoftDeleted = 1 });
4041

4142
```
43+
{% include component-try-it.html href='https://dotnetfiddle.net/sfMLRj' %}
4244

4345
## Batch UpdateAsync
4446

@@ -61,6 +63,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
6163
.UpdateAsync(x => new User() { IsSoftDeleted = 1 });
6264

6365
```
66+
{% include component-try-it.html href='https://dotnetfiddle.net/7fHg1g' %}
6467

6568
## Executing Interceptor
6669

@@ -84,6 +87,7 @@ ctx.Users.Where(x => x.LastLoginDate < date)
8487
x => { x.Executing = command => commandText = command.CommandText; });
8588

8689
```
90+
{% include component-try-it.html href='https://dotnetfiddle.net/a6zJUe' %}
8791

8892
## Limitations
8993

0 commit comments

Comments
 (0)