DocumentDbExtensions 1.3.2

This library provides:
1) Automatic retry logic with overloads taking both synchronous and asynchronous delegates compatible with all DocumentDB client methods.
2) A "query interceptor" that A) both allows use of the aforementioned retry logic with Linq IQueryables against DocumentDB (this supports paging as well as stream-out via "yield")
3) A "query interceptor" that B) allows direct use of DateTime/Offset within the clauses.  No need to record these types of properties in the form of ticks or unix epoch values and then convert manually in your clauses anymore.  Simply decorate any DateTime/Offset properties with a special attribute and it "just works" while serializing to the database in ISO 8601 human-readable format.

Additional benefits:
Using this library allows you to simply return a DocumentDB IQueryable to the Microsoft OData libraries, allowing those libraries to convert any OData query in the URL into a DocumentDB query with no extra translation logic needed.  Again, it "just works".  An example along with tests demonstrating this functionality is available at

Install-Package DocumentDbExtensions -Version 1.3.2
dotnet add package DocumentDbExtensions --version 1.3.2
paket add DocumentDbExtensions --version 1.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Bugfix to allow IQueryable interceptor to see base type properties for translation.

Version History

Version Downloads Last updated
1.3.2 745 8/16/2018
1.3.1 79 8/16/2018
1.3.0 89 8/16/2018
1.2.4 1,732 7/11/2018
1.2.3 152 6/2/2018
1.2.2 136 5/18/2018
1.2.1 135 5/18/2018
1.2.0 132 5/18/2018
1.1.5 2,963 4/26/2018
1.1.4 213 4/19/2018
1.1.3 1,543 3/9/2018
1.1.2 1,490 2/12/2018
1.0.1 3,638 10/23/2017
1.0.0 185 10/19/2017