How to tell DocumentDB SDK to use camelCase during linq query? : <p>Considering the document <code>{ "userName": "user1" }</code> stored in the User collection, and the following <code>User</code> class: </p>

<pre><code>public class User
{
        public string Id { get; set; }
        public string UserName { get; set; }
}
</code></pre>

<p>With the following JSON.net settings:</p>

<pre><code>JsonConvert.DefaultSettings = () =&gt;
{
    return new JsonSerializerSettings
    {
       ContractResolver = new CamelCasePropertyNamesContractResolver(),
    };
};
</code></pre>

<p>When I query with Linq as such:</p>

<pre><code>var t = _client.CreateDocumentQuery&lt;User&gt;(_collection.SelfLink)
            .Where(u =&gt; u.UserName == "user1").AsDocumentQuery().ExecuteNextAsync();

t.Wait();

var users = t.Result;
var user = users.FirstOrDefault();
</code></pre>

<p><code>user</code> is null. Changing the Document to have a pascal casing or the POCO to use a camel casing solves the issue. Of course I do not want any of those as I want my JSON objects and C# objects to be "standarized". </p>

<p>How can I tell the DocumentDB SDK to map my object's property names using camel casing, similar as JSON.net?</p>
