Skip to content

Commit db06dee

Browse files
authored
Update query-future.md
1 parent affa001 commit db06dee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs2/pages/documentations/query-future.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Introduction
44

5-
Every time an immediate method like **ToList** or **FirstOrDefault** is invoked on a query, a database round trip is made to retrieve data. While the most application doesn't have performance issues with making multiple round trips, batching multiple queries into one can be critical for some heavy traffic applications for scalability. Major ORM like NHibernate had this feature for a long time but, unfortunately for Entity Framework users, batching queries is only available through third party libraries.
5+
Every time an immediate method like **ToList** or **FirstOrDefault** is invoked on a query, a database round trip is made to retrieve data. While most applications don't have performance issues with making multiple round trips, batching multiple queries into one can be critical for some heavy traffic applications for scalability. Major ORM like NHibernate had this feature for a long time but, unfortunately for Entity Framework users, batching queries is only available through third party libraries.
66

77
**EF+ Query Future** opens up all batching future queries features for Entity Framework users.
88

9-
To batch multiples queries, simply append **Future** or **FutureValue** method to the query. All future queries will be stored in a pending list, and when the first future query requires a database round trip, all queries will be resolved in the same SQL command.
9+
To batch multiple queries, simply append **Future** or **FutureValue** method to the query. All future queries will be stored in a pending list, and when the first future query requires a database round trip, all queries will be resolved in the same SQL command.
1010

1111
{% include template-example.html %}
1212
```csharp
@@ -176,7 +176,7 @@ As we saw, EF+ Query Future follows a good architecture principle:
176176

177177
- **Flexible:** Future, FutureValue and FutureValue deferred make it possible to use it in any kind of scenario.
178178
- **Maintainable:** The easy to use API, documentation and available source code allows new developers to quickly understand this feature.
179-
- **Scalable:** Query Future gets only better as the number of user/traffic grows by drastically reducing database round trips.
179+
- **Scalable:** Query Future only gets better as the number of user/traffic grows by drastically reducing database round trips.
180180

181181
Need help getting started? [[email protected]](mailto:[email protected])
182182

0 commit comments

Comments
 (0)