Skip to content

Commit f1040e9

Browse files
author
zzzprojects
committed
Fix spelling mistake
Fix spelling mistake
1 parent bcf647c commit f1040e9

File tree

67 files changed

+263
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+263
-242
lines changed

docs/_includes/site-header-nav-md.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</button>
88

99
<div class="header-brand">
10-
<a href="#" data-toggle="collapse" data-target="#site-products" onclick="$(window).scrollTop(0);">
10+
<a href="{{ site.github.url }}/">
1111
<img src="images/logo.png" />
1212
Entity Framework <span class="text-z">Extensions</span>
1313
</a>

docs/_includes/site-header-nav-site.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="nav-site">
22
<nav class="container navbar navbar-light navbar-expand-lg">
33

4-
<a class="navbar-brand" href="#" data-toggle="collapse" data-target="#site-products" onclick="$(window).scrollTop(0);">
4+
<a class="navbar-brand" href="{{ site.github.url }}/">
55
<img src="{{ site.github.url }}/images/logo256X256.png">
66
Entity Framework Extensions (<span class="text-z">EFE</span>)
77
</a>

docs/_includes/site-products.html

Lines changed: 50 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,53 @@
1-
<div id="site-products" class="site-products collapse">
2-
<div class="container">
3-
<nav aria-label="breadcrumb" role="navigation">
4-
<ol class="breadcrumb wow slideInDown">
5-
<li class="breadcrumb-item"><a href="{{ site.github.url }}/"><i class="fa fa-home" aria-hidden="true"></i>&nbsp;Entity Framework Extensions</a></li>
6-
</ol>
7-
</nav>
8-
<div class="row">
9-
<div class="col-lg-4 wow slideInLeft">
10-
<h3>Paid Libraries</h3>
11-
<ul>
12-
<li><a href="http://entityframework-extensions.net/" target="_blank">Entity Framework Extensions</a></li>
13-
<li><a href="http://dapper-plus.net/" target="_blank">Dapper Plus</a></li>
14-
<li><a href="http://bulk-operations.net/" target="_blank">Bulk Operations</a></li>
15-
<li><a href="http://eval-expression.net/" target="_blank">C# Eval</a></li>
16-
<li><a href="http://eval-sql.net/" target="_blank">SQL Eval</a></li>
17-
</ul>
18-
</div>
19-
<div class="col-lg-4 wow slideInUp">
20-
<h3>Free Libraries</h3>
21-
<ul>
22-
<li><a href="http://html-agility-pack.net/" target="_blank">Html Agility Pack</a></li>
23-
<li><a href="http://entityframework-plus.net/" target="_blank">Entity Framework Plus</a></li>
24-
<li><a href="https://github.com/zzzprojects/EntityFramework.DynamicFilters" target="_blank">Entity Framework Dynamic Filters</a></li>
25-
<li><a href="https://github.com/zzzprojects/GraphDiff" target="_blank">Entity Framework GraphDiff</a></li>
26-
<li><a href="https://github.com/zzzprojects/Z.ExtensionMethods" target="_blank">Extension Methods</a></li>
27-
<li><a href="http://findandreplace.io/" target="_blank">Find &amp; Replace Tool</a></li>
28-
</ul>
29-
</div>
30-
<div class="col-lg-4 wow slideInLeft">
31-
<h3>Online Help</h3>
32-
<ul>
33-
<li><a href="https://dotnetfiddle.net/" target="_blank">.NET Fiddle</a></li>
34-
<li><a href="http://sqlfiddle.com/" target="_blank">SQL Fiddle</a></li>
35-
<li><a href="http://nugetmusthaves.com/" target="_blank">NuGet Must Haves</a></li>
36-
<li><a href="http://dapper-tutorial.net/" target="_blank">Dapper Tutorial</a></li>
37-
</ul>
1+
<!-- Modal -->
2+
<div class="modal fade site-products" id="site-products" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
3+
<div class="modal-dialog modal-lg" role="document">
4+
<div class="modal-content">
5+
<div class="modal-header">
6+
<h2 class="modal-title" id="exampleModalLabel"><a href="http://www.zzzprojects.com/">ZZZ Projects</a></h2>
7+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
8+
<span aria-hidden="true">&times;</span>
9+
</button>
10+
</div>
11+
<div class="modal-body">
12+
<div class="container">
13+
<div class="row">
14+
<div class="col-lg-4 wow slideInLeft">
15+
<h3>Paid Libraries</h3>
16+
<ul>
17+
<li><a href="http://entityframework-extensions.net/" target="_blank">Entity Framework Extensions</a></li>
18+
<li><a href="http://dapper-plus.net/" target="_blank">Dapper Plus</a></li>
19+
<li><a href="http://bulk-operations.net/" target="_blank">Bulk Operations</a></li>
20+
<li><a href="http://eval-expression.net/" target="_blank">C# Eval</a></li>
21+
<li><a href="http://eval-sql.net/" target="_blank">SQL Eval</a></li>
22+
</ul>
23+
</div>
24+
<div class="col-lg-4 wow slideInUp">
25+
<h3>Free Libraries</h3>
26+
<ul>
27+
<li><a href="http://html-agility-pack.net/" target="_blank">Html Agility Pack</a></li>
28+
<li><a href="http://entityframework-plus.net/" target="_blank">Entity Framework Plus</a></li>
29+
<li><a href="https://github.com/zzzprojects/EntityFramework.DynamicFilters" target="_blank">Entity Framework Dynamic Filters</a></li>
30+
<li><a href="https://github.com/zzzprojects/GraphDiff" target="_blank">Entity Framework GraphDiff</a></li>
31+
<li><a href="https://github.com/zzzprojects/Z.ExtensionMethods" target="_blank">Extension Methods</a></li>
32+
<li><a href="http://findandreplace.io/" target="_blank">Find &amp; Replace Tool</a></li>
33+
</ul>
34+
</div>
35+
<div class="col-lg-4 wow slideInLeft">
36+
<h3>Online Help</h3>
37+
<ul>
38+
<li><a href="https://dotnetfiddle.net/" target="_blank">.NET Fiddle</a></li>
39+
<li><a href="http://sqlfiddle.com/" target="_blank">SQL Fiddle</a></li>
40+
<li><a href="http://nugetmusthaves.com/" target="_blank">NuGet Must Haves</a></li>
41+
<li><a href="http://dapper-tutorial.net/" target="_blank">Dapper Tutorial</a></li>
42+
</ul>
43+
</div>
3844
</div>
3945
</div>
40-
</div>
46+
47+
</div>
48+
<div class="modal-footer" >
49+
<button type="button" class="btn btn-z" data-dismiss="modal">Close</button>
50+
</div>
51+
</div>
52+
</div>
4153
</div>

docs/_layouts/default.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232
{% include site-header-nav-site.html %}
3333
</div>
3434
</header>
35-
36-
{% include site-products.html %}
37-
35+
3836
<div class="main">
3937
{{ content }}
4038
</div>
@@ -45,7 +43,6 @@
4543
</div>
4644
</header>
4745

48-
{% include site-products.html %}
4946
{% include template-h1.html %}
5047
<div class="main">
5148
{{ content }}
@@ -59,7 +56,6 @@
5956
</div>
6057
</header>
6158

62-
{% include site-products.html %}
6359
{% include template-h1.html %}
6460
<div class="main container">
6561
{{ content }}
@@ -73,8 +69,7 @@
7369
{% include site-header-nav-md.html %}
7470
</div>
7571
</header>
76-
77-
{% include site-products.html %}
72+
7873
{% include template-h1.html %}
7974
<div class="container">
8075
<div class="row">

docs/_sass/site-products.scss

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
text-align: center;
44
}
55
.site-products h3 {
6-
color: #000;
7-
font-size: 2.5rem;
8-
text-decoration: underline;
6+
color: #fff;
97
}
108
.site-products ul {
119
list-style-type: none;
@@ -14,9 +12,25 @@
1412
.site-products ul li {
1513
padding: 7px 0;
1614
}
17-
.site-products a {
15+
.site-products a {
1816
color: #c00;
1917
}
18+
.site-products .modal-body {
19+
background: #333;
20+
background: -webkit-radial-gradient(circle, #333, #111);
21+
background: -o-radial-gradient(circle, #333, #111);
22+
background: -moz-radial-gradient(circle, #333, #111);
23+
background: radial-gradient(circle, #333, #111);
24+
}
25+
.site-products .modal-body h3 {
26+
color: #fff;
27+
fong-size: 700;
28+
background: #777;
29+
padding: 10px;
30+
}
31+
.site-products .modal-body a {
32+
color: #fff;
33+
}
2034
@media (max-width: 991px) {
2135
.site-products .breadcrumb {
2236
display: block;

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ context.BulkMerge(customers,
125125
<div class="row">
126126
<div class="col-lg-5 left wow slideInLeft">
127127
<p>
128-
Make your save operations <span class="text-z">10 to 50 times</span> faster.
128+
Perform save operations <span class="text-z">10 to 50 times</span> faster.
129129
</p>
130130
<p>
131131
Support all major providers:
@@ -236,7 +236,7 @@ context.BulkMerge(customers,
236236
<h2 class="wow slideInUp">Bulk SaveChanges</h2>
237237
<div class="row">
238238
<div class="col-lg-5 wow slideInLeft">
239-
<p class="feature-tagline">Add 4 letters <span class="text-z">Bulk</span> to make your application <span class="text-z">10-50 times</span> faster and more responsive.</p>
239+
<p class="feature-tagline">Add the 4 letters word <span class="text-z">Bulk</span> to make your application <span class="text-z">10-50 times</span> faster and more responsive.</p>
240240
<ul>
241241
<li>Easy to use</li>
242242
<li>Easy to customize</li>

docs/pages/api/bulk-delete.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ context.BulkDelete(customers, options => options.ColumnPrimaryKeyExpression = cu
2121

2222
Despite the `ChangeTracker` being outstanding to track what's modified, it lacks in term of scalability and flexibility.
2323

24-
`SaveChanges` require one database round-trip for every entity to `delete`. So if you need to `delete` 10000 entities, then 10000 database round-trip will be performed which is **INSANELY** slow.
24+
`SaveChanges` requires one database round-trip for every entity to `delete`. So if you need to `delete` 10000 entities, then 10000 database round-trips will be performed which is **INSANELY** slow.
2525

26-
`BulkDelete` in counterpart offer great customization and require the minimum database round-trip as possible.
26+
`BulkDelete` in counterpart offers great customization and requires the minimum database round-trips as possible.
2727

2828
## Performance Comparisons
2929

@@ -70,15 +70,15 @@ context.BulkDelete(customers, options => options.ColumnPrimaryKeyExpression = cu
7070
{% endhighlight %}
7171

7272
### How can I include child entities (Entity Graph)?
73-
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.
73+
You cannot. Due to the risk of mistakes, we preferred not to offer this option and make sure every entity you wish to `delete` is specified.
7474

7575
### Why BulkDelete doesn't use the ChangeTracker?
76-
To provide the best performance as possible!
76+
To provide the best performance possible!
7777

78-
Since using the `ChangeTracker` can greatly reduce performance, we choose to let `BulkSaveChanges` method to handle scenario with `ChangeTracker` and `BulkDelete` scenario without it.
78+
Since using the `ChangeTracker` can greatly reduce performance, we chose to let `BulkSaveChanges` method handle scenarios with `ChangeTracker` and `BulkDelete`, scenarios without it.
7979

8080
### Why BulkDelete is faster than BulkSaveChanges?
81-
The major difference between both methods is `BulkSaveChanges` use the `ChangeTracker` but not the `BulkDelete` method.
81+
The major difference between both methods is `BulkSaveChanges` uses the `ChangeTracker` but not the `BulkDelete` method.
8282

8383
By skipping the `ChangeTracker`, some methods like `DetectChanges` are no longer required which greatly helps to improve the performance.
8484

docs/pages/api/bulk-insert.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ context.BulkInsert(list, options => options.BatchSize = 100);
1919
## Purpose
2020
`Inserting` thousand of entities for an initial load or a file importation is a typical scenario.
2121

22-
`SaveChanges` methods make quite impossible to handle this kind of situation directly from Entity Framework due to the number of database round-trips required.
22+
`SaveChanges` method makes it quite impossible to handle this kind of situation directly from Entity Framework due to the number of database round-trips required.
2323

24-
`SaveChanges` require one database round-trip for every entity to `insert`. So if you need to `insert` 10000 entities, then 10000 database round-trip will be performed which is **INSANELY** slow.
24+
`SaveChanges` requires one database round-trip for every entity to `insert`. So if you need to `insert` 10000 entities, then 10000 database round-trips will be performed which is **INSANELY** slow.
2525

26-
`BulkInsert` in counterpart require the minimum database round-trip as possible. By example under the hood for SQL Server, a simple`SqlBulkCopy` could be performed.
26+
`BulkInsert` in counterpart requires the minimum database round-trips as possible. By example under the hood for SQL Server, a simple`SqlBulkCopy` could be performed.
2727

2828
## Performance Comparisons
2929

@@ -76,12 +76,12 @@ context.BulkInsert(list, options => options.IncludeGraph = true);
7676
{% endhighlight %}
7777

7878
### Why BulkInsert doesn't use the ChangeTracker?
79-
To provide the best performance as possible!
79+
To provide the best performance possible!
8080

81-
Since using the `ChangeTracker` can greatly reduce performance, we choose to let `BulkSaveChanges` method to handle scenario with `ChangeTracker` and `BulkInsert` scenario without it.
81+
Since using the `ChangeTracker` can greatly reduce performance, we chose to let `BulkSaveChanges` method handle the scenarios with `ChangeTracker` and `BulkInsert` the scenarios without it.
8282

8383
### Why BulkInsert is faster than BulkSaveChanges?
84-
The major difference between both methods is `BulkSaveChanges` use the `ChangeTracker` but not the `BulkInsert` method.
84+
The major difference between both methods is `BulkSaveChanges` uses the `ChangeTracker` but not the `BulkInsert` method.
8585

8686
By skipping the `ChangeTracker`, some methods like `Add`, `AddRange`, `DetectChanges` are no longer required which greatly helps to improve the performance.
8787

docs/pages/api/bulk-merge.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ context.BulkMerge(customers, options => options.ColumnPrimaryKeyExpression = cus
2121

2222
Despite the `ChangeTracker` being outstanding to track what's modified, it lacks in term of scalability and flexibility.
2323

24-
`SaveChanges` require one database round-trip for every entity to `insert` or `update`. So if you need to `insert` or `update` 10000 entities, then 10000 database round-trip will be performed which is **INSANELY** slow.
24+
`SaveChanges` requires one database round-trip for every entity to `insert` or `update`. So if you need to `insert` or `update` 10000 entities, then 10000 database round-trips will be performed which is **INSANELY** slow.
2525

26-
`BulkMerge` in counterpart offer great customization and require the minimum database round-trip as possible.
26+
`BulkMerge` in counterpart offers great customization and requires the minimum database round-trips as possible.
2727

2828
## Performance Comparisons
2929

@@ -82,7 +82,7 @@ context.BulkMerge(list, options =>
8282
{% endhighlight %}
8383

8484
### How can I specify custom keys to use?
85-
You can specify custom key using the `ColumnPrimaryKeyExpression` option.
85+
You can specify custom keys using the `ColumnPrimaryKeyExpression` option.
8686

8787
Read more: [ColumnPrimaryKeyExpression](/column-primary-key-expression)
8888

@@ -106,9 +106,9 @@ context.BulkMerge(list, options => options.IncludeGraph = true);
106106
{% endhighlight %}
107107

108108
### Why BulkMerge doesn't use the ChangeTracker?
109-
To provide the best performance as possible!
109+
To provide the best performance possible!
110110

111-
Since using the `ChangeTracker` can greatly reduce performance, we choose to let `BulkSaveChanges` method to handle scenario with `ChangeTracker` and `BulkMerge` scenario without it.
111+
Since using the `ChangeTracker` can greatly reduce performance, we chose to let `BulkSaveChanges` method handle scenarios with `ChangeTracker` and `BulkMerge`, scenarios without it.
112112

113113
## Related Articles
114114
- [How to Benchmark?](benchmark)

docs/pages/api/bulk-savechanges.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ context.BulkSaveChanges(bulk => bulk.BatchSize = 100);
3232
{% endhighlight %}
3333

3434
## Purpose
35-
Using the `ChangeTracker` to detect and persist change automatically is great! However, it leads very fast to some problem when multiples entities need to be saved.
35+
Using the `ChangeTracker` to detect and persist changes automatically is great! However, it leads very fast to some problems when multiple entities need to be saved.
3636

37-
`SaveChanges` method makes a database round-trip for every change. So if you need to insert 10000 entities, then 10000 database round-trip will be performed which is INSANELY slow.
37+
`SaveChanges` method makes a database round-trip for every change. So if you need to insert 10000 entities, then 10000 database round-trips will be performed which is INSANELY slow.
3838

39-
`BulkSaveChanges` work exactly like `SaveChanges` but reduce the number of database round-trips required to greatly helps to improve the performance.
39+
`BulkSaveChanges` works exactly like `SaveChanges` but reduces the number of database round-trips required to greatly help improve the performance.
4040

4141
## Performance Comparisons
4242

0 commit comments

Comments
 (0)