Show / Hide Table of Contents

Class AzureTableStorageClient<TElement>

Implementation of the ITableStorageClient interface by using an Azure Table Storage.

Inheritance
System.Object
TableStorageClient<TElement>
AzureTableStorageClient<TElement>
Implements
ITableStorageClient<TElement>
Inherited Members
TableStorageClient<TElement>.Config
TableStorageClient<TElement>.GetAsync(String, String)
TableStorageClient<TElement>.AnyAsync(String, String)
TableStorageClient<TElement>.ListAsync(String)
TableStorageClient<TElement>.InsertAsync(TElement)
TableStorageClient<TElement>.UpdateAsync(TElement, TableStorageStrategy)
TableStorageClient<TElement>.DeleteAsync(String, String)
TableStorageClient<TElement>.DeleteAsync(TElement)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Celerik.NetCore.Util
Assembly: cs.temp.dll.dll
Syntax
public class AzureTableStorageClient<TElement> : TableStorageClient<TElement>, ITableStorageClient<TElement> where TElement : ITableEntity, new()
Type Parameters
Name Description
TElement

The type of table entity.

Constructors

AzureTableStorageClient(TableStorageConfig)

Declaration
public AzureTableStorageClient(TableStorageConfig config)
Parameters
Type Name Description
TableStorageConfig config

Fields

_cloudTable

Reference to the current cloud table.

Declaration
protected readonly CloudTable _cloudTable
Field Value
Type Description
CloudTable

Methods

CreateTableIfNotExistsAsync()

Creates the table if not exists.

Declaration
protected override Task CreateTableIfNotExistsAsync()
Returns
Type Description
Task

The task object representing the asynchronous operation.

Overrides
Celerik.NetCore.Util.TableStorageClient<TElement>.CreateTableIfNotExistsAsync()

DeleteIfExistsAsync()

Delete the table if exists.

Declaration
public override Task<bool> DeleteIfExistsAsync()
Returns
Type Description
Task<System.Boolean>

The task object representing the asynchronous operation.

Overrides
Celerik.NetCore.Util.TableStorageClient<TElement>.DeleteIfExistsAsync()

ExecuteAsync(TableOperation)

Executes the passed-in table operation.

Declaration
protected override Task<TableResult> ExecuteAsync(TableOperation operation)
Parameters
Type Name Description
TableOperation operation

The operation to execute.

Returns
Type Description
Task<TableResult>

The task object representing the asynchronous operation.

Overrides
Celerik.NetCore.Util.TableStorageClient<TElement>.ExecuteAsync(TableOperation)

ExecuteAsync(TableQuery<TElement>, TableContinuationToken)

Executes the passed-in table query as a segment.

Declaration
protected override Task<TableQuerySegment<TElement>> ExecuteAsync(TableQuery<TElement> query, TableContinuationToken token)
Parameters
Type Name Description
TableQuery<TElement> query

The tabe query.

TableContinuationToken token

The continuation token.

Returns
Type Description
Task<TableQuerySegment<TElement>>

The task object representing the asynchronous operation.

Overrides
Celerik.NetCore.Util.TableStorageClient<TElement>.ExecuteAsync(TableQuery<TElement>, TableContinuationToken)

Implements

ITableStorageClient<TElement>
In This Article
Back to top Generated by DocFX