Class AzureTableStorageServiceFactory
The IStorageServiceFactory implementation for Azure Table Storage.
Inheritance
Implements
Namespace: DNVGL.One.Compute.StorageLibrary.Azure.Factory
Assembly: DNVGL.One.Compute.StorageLibrary.Azure.dll
Syntax
public class AzureTableStorageServiceFactory : object, IStorageServiceFactory
Methods
View SourceCreateJobPropertiesService(String, String)
Will return an instance of the job properties storage service IJobPropertiesService based upon the supplied connection string.
Declaration
public IJobPropertiesService CreateJobPropertiesService(string globalStorageConnectionString, string localStorageConnectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | globalStorageConnectionString | The global storage connection string. |
| System.String | localStorageConnectionString | The local storage connection string. |
Returns
| Type | Description |
|---|---|
| IJobPropertiesService | A job properties storage service instance. |
CreateJobStatusService(String, String)
Will return an instance of the job status storage service
Declaration
public IJobStatusService CreateJobStatusService(string jobStatusStorageConnectionString, string workItemStatusStorageConnectionString = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | jobStatusStorageConnectionString | The connection string to the job status storage. |
| System.String | workItemStatusStorageConnectionString | The connection string to the work item status storage. |
Returns
| Type | Description |
|---|---|
| IJobStatusService | A job status storage service instance. |
Remarks
If workItemStatusStorageConnectionString is null or empty, the jobStatusStorageConnectionString will be used to connect to work item storage.
CreateResultStorageService(String)
Will return an instance of the result storage service IFlowModelStorageService<T> based upon the supplied connection string.
Declaration
public IFlowModelStorageService<Result> CreateResultStorageService(string storageConnectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | storageConnectionString | The connection string to the storage data source. |
Returns
| Type | Description |
|---|---|
| IFlowModelStorageService<Result> | A results storage service instance. |
CreateWorkItemStatusService(String)
Will return an instance of the work item status storage service IWorkItemStatusService based upon the supplied connection string.
Declaration
public IWorkItemStatusService CreateWorkItemStatusService(string workItemStorageConnectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | workItemStorageConnectionString | The connection string to the storage data source. |
Returns
| Type | Description |
|---|---|
| IWorkItemStatusService | A work item status storage service instance. |
CreateWorkItemStorageService(String)
Will return an instance of the work item storage service IFlowModelStorageService<T> based upon the supplied connection string.
Declaration
public IFlowModelStorageService<WorkItem> CreateWorkItemStorageService(string storageConnectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | storageConnectionString | The connection string to the storage data source. |
Returns
| Type | Description |
|---|---|
| IFlowModelStorageService<WorkItem> | A work item storage service instance. |