How can I trace the query produced by the documentdb Linq provider?
<p>How can I see the document DB sql query (in a string) generated by a linq statement before it gets sent to the server?</p>

<pre><code>_documentClient.CreateDocumentQuery&lt;MyType&gt;(
                        UriFactory.CreateDocumentCollectionUri(DatabaseName,
                            CollectionName)).Where(....).SelectMany(...)
</code></pre>

<p>I want to use this for tracing purposes.</p>