internal CouchDatabase(CouchClient client, string database) { client.http.client.BaseUrl = new Uri(client.connectionString + database); this.client = client; this.database = database; }
internal CouchDatabase(CouchClient client, string database) { this.client = new CouchClient(client.originalConnectionString); this.client.http.client.BaseUrl = new Uri(client.connectionString + database); // add database name this.database = database; }