Class OpenBiDatastoreObjectExtensions
Inheritance
OpenBiDatastoreObjectExtensions
Namespace: BiExcellence.OpenBi.Api.Commands.DatastoreObjects
Assembly: BiExcellence.OpenBi.Api.DatastoreObject.dll
Syntax
public static class OpenBiDatastoreObjectExtensions
Methods
CreateDatastoreObjectAsync(IOpenBiSession, IDatastoreObject, CancellationToken)
Declaration
public static Task CreateDatastoreObjectAsync(this IOpenBiSession session, IDatastoreObject datastoreObject, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
IOpenBiSession | session | |
IDatastoreObject | datastoreObject | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |
DeleteDatastoreObjectAsync(IOpenBiSession, IDatastoreObject, CancellationToken)
Declaration
public static Task DeleteDatastoreObjectAsync(this IOpenBiSession session, IDatastoreObject datastoreObject, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
IOpenBiSession | session | |
IDatastoreObject | datastoreObject | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |
DeleteDatastoreObjectAsync(IOpenBiSession, string, CancellationToken)
Declaration
public static Task DeleteDatastoreObjectAsync(this IOpenBiSession session, string id, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
IOpenBiSession | session | |
string | id | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |
GetDatastoreObjectByIdAsync(IOpenBiSession, string, CancellationToken)
Declaration
public static Task<IDatastoreObject?> GetDatastoreObjectByIdAsync(this IOpenBiSession session, string id, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
IOpenBiSession | session | |
string | id | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<IDatastoreObject> |
GetDatastoreObjectsByTypeAsync(IOpenBiSession, string, CancellationToken)
Declaration
public static Task<IList<IDatastoreObject>> GetDatastoreObjectsByTypeAsync(this IOpenBiSession session, string type, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
IOpenBiSession | session | |
string | type | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<IList<IDatastoreObject>> |
GetObject(IDatastoreObject)
Declaration
public static string GetObject(this IDatastoreObject datastoreObject)
Parameters
Type | Name | Description |
---|---|---|
IDatastoreObject | datastoreObject |
Returns
Type | Description |
---|---|
string |
SetObject(IDatastoreObject, string?)
Declaration
public static void SetObject(this IDatastoreObject datastoreObject, string? obj)
Parameters
Type | Name | Description |
---|---|---|
IDatastoreObject | datastoreObject | |
string | obj |