-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #302 from Otixa/add-interface
Add IArangoDBClient interface. Fixes #296
- Loading branch information
Showing
2 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
using System; | ||
using ArangoDBNetStandard.AqlFunctionApi; | ||
using ArangoDBNetStandard.AuthApi; | ||
using ArangoDBNetStandard.CollectionApi; | ||
using ArangoDBNetStandard.CursorApi; | ||
using ArangoDBNetStandard.DatabaseApi; | ||
using ArangoDBNetStandard.DocumentApi; | ||
using ArangoDBNetStandard.GraphApi; | ||
using ArangoDBNetStandard.TransactionApi; | ||
using ArangoDBNetStandard.UserApi; | ||
|
||
namespace ArangoDBNetStandard | ||
{ | ||
public interface IArangoDBClient : IDisposable | ||
{ | ||
/// <summary> | ||
/// AQL user functions management API. | ||
/// </summary> | ||
AqlFunctionApiClient AqlFunction { get; } | ||
|
||
/// <summary> | ||
/// Auth API | ||
/// </summary> | ||
AuthApiClient Auth { get; } | ||
|
||
/// <summary> | ||
/// Cursor API | ||
/// </summary> | ||
CursorApiClient Cursor { get; } | ||
|
||
/// <summary> | ||
/// Database API | ||
/// </summary> | ||
DatabaseApiClient Database { get; } | ||
|
||
/// <summary> | ||
/// Document API | ||
/// </summary> | ||
DocumentApiClient Document { get; } | ||
|
||
/// <summary> | ||
/// Collection API | ||
/// </summary> | ||
CollectionApiClient Collection { get; } | ||
|
||
/// <summary> | ||
/// Transaction API | ||
/// </summary> | ||
TransactionApiClient Transaction { get; } | ||
|
||
/// <summary> | ||
/// Graph API | ||
/// </summary> | ||
GraphApiClient Graph { get; } | ||
|
||
/// <summary> | ||
/// User management API. | ||
/// </summary> | ||
UserApiClient User { get; } | ||
} | ||
} |