Table of Contents

Class CouchDbDataProvider

Namespace
combit.Reporting.DataProviders
Assembly
combit.ListLabel31.CrossPlatform.dll

Provider for CouchDB.

public sealed class CouchDbDataProvider : IDataProvider
Inheritance
CouchDbDataProvider
Implements
Inherited Members

Constructors

CouchDbDataProvider(string, string, string)

Initializes a new instance of the CouchDbDataProvider class.

public CouchDbDataProvider(string serverUrl, string databaseName, string viewName)

Parameters

serverUrl string

The URL of the CouchDB server.

databaseName string

The name of the CouchDB database.

viewName string

The name of the view to use.

CouchDbDataProvider(string, string, string, string)

Initializes a new instance of the CouchDbDataProvider class.

public CouchDbDataProvider(string serverUrl, string databaseName, string viewName, string serverPort)

Parameters

serverUrl string

The URL of the CouchDB server.

databaseName string

The name of the CouchDB database.

viewName string

The name of the view to use.

serverPort string

The port of the CouchDB server.

CouchDbDataProvider(string, string, string, string, string, string, string)

Initializes a new instance of the CouchDbDataProvider class.

public CouchDbDataProvider(string serverUrl, string databaseName, string viewName, string serverPort, string username, string password, string domain)

Parameters

serverUrl string

The URL of the CouchDB server.

databaseName string

The name of the CouchDB database.

viewName string

The name of the view to use.

serverPort string

The port of the CouchDB server.

username string

The username for authentication.

password string

The password for authentication.

domain string

The domain for authentication.

Properties

ConnectionTimeout

Gets or sets the connection timeout (in seconds).

public int ConnectionTimeout { get; set; }

Property Value

int

Domain

Gets or sets the domain for the CouchDB connection.

public string Domain { get; set; }

Property Value

string

FlattenStructure

Gets or sets a value indicating whether the JSON structure should be flattened.

public bool FlattenStructure { get; set; }

Property Value

bool

NamespacePrefix

Gets or sets an optional prefix to all table names. This allows multiple CouchDbDataProvider instances with default settings to be included in a DataProviderCollection.

public string NamespacePrefix { get; set; }

Property Value

string

Password

Gets or sets the password for the CouchDB connection.

public string Password { get; set; }

Property Value

string

QueryParameters

Gets or sets the query parameters for the view execution.

public string QueryParameters { get; set; }

Property Value

string

Username

Gets or sets the username for the CouchDB connection.

public string Username { get; set; }

Property Value

string