Creates a database with a given name and database configuration. If the configuration
is null then the default configuration will be used. If the database does not yet
exist, it will be created.
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax public Database(
string name,
DatabaseConfiguration configuration = null
)
Parameters
- name
- Type: SystemString
The name of the database - configuration (Optional)
- Type: Couchbase.LiteDatabaseConfiguration
The database configuration, or null for the default configuration
Exceptions See Also