C# Class Arango.Client.ADatabase

Afficher le fichier Open project: yojimbo87/ArangoDB-NET Class Usage Examples

Méthodes publiques

Méthode Description
ADatabase ( string alias ) : System.Collections.Generic

Initializes new database context to perform operations on remote database identified by specified alias.

Create ( string databaseName ) : AResult

Creates new database with given name.

Create ( string databaseName, List users ) : AResult

Creates new database with given name and user list.

Drop ( string databaseName ) : AResult

Deletes specified database.

ExcludeSystem ( bool value ) : ADatabase

Determines whether system collections should be excluded from the result.

GetAccessibleDatabases ( ) : AResult>

Retrieves list of accessible databases which current user can access without specifying a different username or password.

GetAllCollections ( ) : object>>>.AResult

Retrieves information about collections in current database connection.

GetAllDatabases ( ) : AResult>

Retrieves the list of all existing databases.

GetCurrent ( ) : object>>.AResult

Retrieves information about currently connected database.

Method Details

ADatabase() public méthode

Initializes new database context to perform operations on remote database identified by specified alias.
public ADatabase ( string alias ) : System.Collections.Generic
alias string
Résultat System.Collections.Generic

Create() public méthode

Creates new database with given name.
public Create ( string databaseName ) : AResult
databaseName string
Résultat AResult

Create() public méthode

Creates new database with given name and user list.
public Create ( string databaseName, List users ) : AResult
databaseName string
users List
Résultat AResult

Drop() public méthode

Deletes specified database.
public Drop ( string databaseName ) : AResult
databaseName string
Résultat AResult

ExcludeSystem() public méthode

Determines whether system collections should be excluded from the result.
public ExcludeSystem ( bool value ) : ADatabase
value bool
Résultat ADatabase

GetAccessibleDatabases() public méthode

Retrieves list of accessible databases which current user can access without specifying a different username or password.
public GetAccessibleDatabases ( ) : AResult>
Résultat AResult>

GetAllCollections() public méthode

Retrieves information about collections in current database connection.
public GetAllCollections ( ) : object>>>.AResult
Résultat object>>>.AResult

GetAllDatabases() public méthode

Retrieves the list of all existing databases.
public GetAllDatabases ( ) : AResult>
Résultat AResult>

GetCurrent() public méthode

Retrieves information about currently connected database.
public GetCurrent ( ) : object>>.AResult
Résultat object>>.AResult