Skip to content

Commit 4fdd077

Browse files
authored
Update tutorial-query.md
1 parent 3c952ea commit 4fdd077

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs2/pages/getting-started/tutorial-query.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ var customer = ctx.Customers.Filter(CustomEnum.EnumValue).ToList();
121121

122122
## Query Future
123123

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.
125125

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.
127127

128128
### Support:
129129

@@ -144,7 +144,7 @@ var countries = futureCountries.ToList();
144144

145145
{% include template-example.html %}
146146
```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
148148
var futureFirstCustomer = db.Customers.Where(x => x.IsActive).DeferredFirstOrDefault().FutureValue();
149149
var futureCustomerCount = db.Customers.Where(x => x.IsActive).DeferredCount().FutureValue();
150150

@@ -178,7 +178,7 @@ var posts = ctx.Post.IncludeFilter(x => x.Comments.Where(x => x.IsActive));
178178

179179
## Query IncludeOptimized
180180

181-
Improve SQL generate by Include and filter child collections at the same times!
181+
Improve SQL generate by Include and filter child collections at the same time!
182182

183183
{% include template-example.html %}
184184
```csharp
@@ -191,4 +191,4 @@ var posts = ctx.Post.IncludeOptimized(x => x.Comments.Where(x => x.IsActive));
191191

192192
***Support:** EF5, EF6*
193193

194-
[Learn more](/query-include-optimized)
194+
[Learn more](/query-include-optimized)

0 commit comments

Comments
 (0)