public DatabaseSharedSetting() { AqlFunctions = new AqlFunctionCache(); Cursor = new DatabaseCursorSharedSetting(); Linq = new DatabaseLinqSharedSetting(); Document = new DatabaseDocumentSharedSetting(); Serialization = new DatabaseSerializationSharedSetting(); Collection = new DatabaseCollectionSetting(this); IdentifierModifier = new DocumentIdentifierModifier(this); Url = "http://localhost:8529"; Credential = new NetworkCredential("not-set", ""); SystemDatabaseCredential = new NetworkCredential("not-set", ""); ThrowForServerErrors = true; Logger = new DatabaseLogSharedSetting { LogOnlyLightOperations = true, HttpRequest = true, HttpResponse = true, Aql = true, HttpHeaders = false }; }
public DatabaseSharedSetting() { AqlFunctions = new AqlFunctionCache(); Cursor = new DatabaseCursorSharedSetting(); Linq = new DatabaseLinqSharedSetting(); Document = new DatabaseDocumentSharedSetting(); Collection = new DatabaseCollectionSetting(this); IdentifierModifier = new DocumentIdentifierModifier(this); CreateCollectionOnTheFly = true; Url = "http://localhost:8529"; Credential = new NetworkCredential("root", ""); SystemDatabaseCredential = new NetworkCredential("root", ""); ThrowForServerErrors = true; Logger = new DatabaseLogSharedSetting { LogOnlyLightOperations = true, HttpRequest = true, HttpResponse = true, Aql = true, HttpHeaders = false }; }