Click or drag to resize

DatabaseApiClient Class

A client for interacting with ArangoDB Databases endpoints, implementing IDatabaseApiClient.
Inheritance Hierarchy
SystemObject
  ArangoDBNetStandardApiClientBase
    ArangoDBNetStandard.DatabaseApiDatabaseApiClient

Namespace:  ArangoDBNetStandard.DatabaseApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public class DatabaseApiClient : ApiClientBase, 
	IDatabaseApiClient

The DatabaseApiClient type exposes the following members.

Constructors
  NameDescription
Public methodDatabaseApiClient(IApiClientTransport)
Creates an instance of DatabaseApiClient using the provided transport layer and the default JSON serialization.
Public methodDatabaseApiClient(IApiClientTransport, IApiClientSerialization)
Creates an instance of DatabaseApiClient using the provided transport and serialization layers.
Top
Methods
  NameDescription
Public methodDeleteDatabaseAsync
Delete a database. Dropping a database is only possible from within the _system database. The _system database itself cannot be dropped. DELETE /_api/database/{database-name}
Protected methodDeserializeJsonFromStreamT (Inherited from ApiClientBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetApiErrorException
Gets an ApiErrorException from the provided error response.
(Inherited from ApiClientBase.)
Protected methodGetContentT (Inherited from ApiClientBase.)
Protected methodGetContentStringT (Inherited from ApiClientBase.)
Public methodGetCurrentDatabaseInfoAsync
Retrieves information about the current database.
Public methodGetDatabasesAsync
Retrieves the list of all existing databases. (Only possible from within the _system database)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUserDatabasesAsync
Retrieves the list of all databases the current user can access.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPostDatabaseAsync
Creates a new database. (Only possible from within the _system database)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateDocumentId
Checks whether the provided document ID is in the correct form of "{collection}/{key}".
(Inherited from ApiClientBase.)
Top
Fields
  NameDescription
Protected field_client
The transport client used to communicate with the ArangoDB host.
Protected field_databaseApiPath
The root path of the API.
Top
See Also