You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs2/pages/documentations/query-db-set-filter.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
The **Query DbSetFilter** is the old filter API for Entity Framework 6 (EF6) before the code switched to use Interceptor instead.
6
6
7
-
The feature revamp was done in 2016 to support include and LazyLoading but have also some limitation such as performance and instance filter that the old code didn't have.
7
+
The feature revamp was done in 2016 to support include and LazyLoading but, also have some limitation such as performance and instance filter that the old code didn't have.
Copy file name to clipboardExpand all lines: docs2/pages/documentations/query-filter.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ var list = ctx.Posts.Filter(MyEnum.EnumValue).ToList();
56
56
57
57
Global filter can be used by any context.
58
58
59
-
Global filter is normally preferred in most scenario over instance filter since the filter code is centralized in one method over being spread in multiple methods.
59
+
Global filter is normally preferred in most scenarios over instance filter since the filter code is centralized in one method over being spread in multiple methods.
60
60
61
61
{% include template-example.html %}
62
62
```csharp
@@ -252,7 +252,7 @@ var list = ctx.Invoices.Where(q => q.Where(x => x.CustomerID = myCustomerID)).To
252
252
253
253
### Object State
254
254
255
-
Removing inactive or soft deleted records is probably the most common scenario. A soft delete is often useful when related data cannot be deleted. By example, the customer cannot be deleted because related orders cannot be deleted instead, he becomes inactive.
255
+
Removing inactive or soft deleted records is probably the most common scenario. A soft delete is often useful when related data cannot be deleted. For example, the customer cannot be deleted because related orders cannot be deleted instead, he becomes inactive.
256
256
257
257
*In this example, we display only active category.*
258
258
@@ -361,7 +361,7 @@ using (var ctx = new EntityContext())
361
361
362
362
#### Context Filter
363
363
364
-
SincetheQueryCacheManagerisglobal, ourlibraryhavesomelimitationswithFilterbycontext (GlobalFilterdoesn't have this issue since it apply the same logic to all query.)
364
+
SincetheQueryCacheManagerisglobal, ourlibraryhavesomelimitationswithFilterbycontext (GlobalFilterdoesn't have this issue since it applies the same logic to all query.)
Copy file name to clipboardExpand all lines: docs2/pages/getting-started/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ All future queries are stored in a pending list. When the first future query req
81
81
82
82
### Query IncludeFilter
83
83
84
-
Entity Framework already support eager loading however the major drawback is you cannot control what will be included. There is no way to load only active item or load only the first 10 comments.
84
+
Entity Framework already support eager loading. However, the major drawback is you cannot control what will be included. There is no way to load only active items or load only the first 10 comments.
Copy file name to clipboardExpand all lines: docs2/pages/getting-started/tutorial-query.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,9 +121,9 @@ var customer = ctx.Customers.Filter(CustomEnum.EnumValue).ToList();
121
121
122
122
## Query Future
123
123
124
-
Query Future allow to reduce database roundtrip by batching multiple queries in the same sql command.
124
+
Query Future allow to reduce database roundtrips by batching multiple queries in the same sql command.
125
125
126
-
All future query are stored in a pending list. When the first future query require a database roundtrip, all query are resolved in the same sql command instead of making a database roundtrip for every sql command.
126
+
All future queries are stored in a pending list. When the first future query require a database roundtrip, all queries are resolved in the same sql command instead of making a database roundtrip for every sql command.
127
127
128
128
### Support:
129
129
@@ -144,7 +144,7 @@ var countries = futureCountries.ToList();
144
144
145
145
{% include template-example.html %}
146
146
```csharp
147
-
// GET the first active customer and the number of avtive customers
147
+
// GET the first active customer and the number of active customers
0 commit comments