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
serverUrlstringThe URL of the CouchDB server.
databaseNamestringThe name of the CouchDB database.
viewNamestringThe 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
serverUrlstringThe URL of the CouchDB server.
databaseNamestringThe name of the CouchDB database.
viewNamestringThe name of the view to use.
serverPortstringThe 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
serverUrlstringThe URL of the CouchDB server.
databaseNamestringThe name of the CouchDB database.
viewNamestringThe name of the view to use.
serverPortstringThe port of the CouchDB server.
usernamestringThe username for authentication.
passwordstringThe password for authentication.
domainstringThe domain for authentication.
Properties
ConnectionTimeout
Gets or sets the connection timeout (in seconds).
public int ConnectionTimeout { get; set; }
Property Value
Domain
Gets or sets the domain for the CouchDB connection.
public string Domain { get; set; }
Property Value
FlattenStructure
Gets or sets a value indicating whether the JSON structure should be flattened.
public bool FlattenStructure { get; set; }
Property Value
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
Password
Gets or sets the password for the CouchDB connection.
public string Password { get; set; }
Property Value
QueryParameters
Gets or sets the query parameters for the view execution.
public string QueryParameters { get; set; }
Property Value
Username
Gets or sets the username for the CouchDB connection.
public string Username { get; set; }