Skip to content

Commit 560e0fa

Browse files
Update query-future.md
1 parent 3bf31c9 commit 560e0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/features/query-future.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Description
44
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.
55

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

88
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.
99

0 commit comments

Comments
 (0)