/// <summary> /// </summary> public ArangoConfiguration() { BatchSize = 500; Serializer = new ArangoNewtonsoftSerializer(new ArangoNewtonsoftDefaultContractResolver()); Transport = new ArangoHttpTransport(this); ResolveCollection = type => type.Name; ResolveProperty = (type, name) => { switch (name) { case "Key": return("_key"); case "Id": return("_id"); case "Revision": return("_rev"); case "From": return("_from"); case "To": return("_to"); } // TODO: camelCase return(name); }; ResolveGroupBy = s => s; }
/// <summary> /// </summary> public ArangoConfiguration() { BatchSize = 500; Serializer = new ArangoNewtonsoftSerializer(new ArangoNewtonsoftDefaultContractResolver()); Transport = new ArangoHttpTransport(this); }