2
Shouts

Batched Future Queries for LinqToSql, available via NuGet

published 263 days, 17 hours, 54 minutes ago posted by tduponttdupont 269 days, 15 hours, 17 minutes ago
Monday, September 03, 2012 1:02:22 PM GMT Tuesday, August 28, 2012 3:38:40 PM GMT

Future queries are an unobtrusive and easy to use way of batching database queries into a lazy loaded data structures. Future queries were originally a feature of NHibernate, and have since been ported to other ORMs. To batch queries together, simply call the ToFuture extension method on your IQueryables, this will return a Lazy collection of entities. The first time that one of the Lazy collections is accessed, all of the pending queries will be batched and executed together.

category: Data | clicked: 23 | | source: www.tomdupont.net | show counter code
tags:

No comments yet, be the first one to post comment.

To post your comment please login or signup