Class TableStorageFactory
Factory to create ITableStorageClient instances.
Inheritance
System.Object
TableStorageFactory
Inherited Members
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 static class TableStorageFactory
Methods
Create<TElement>(TableStorageConfig, TableStorageProvider)
Creates a new ITableStorageClient instance based on the passed-in provider.
Declaration
public static ITableStorageClient<TElement> Create<TElement>(TableStorageConfig config, TableStorageProvider provider = TableStorageProvider.Azure)
where TElement : ITableEntity, new()
Parameters
Type | Name | Description |
---|---|---|
TableStorageConfig | config | Configuration to access the Table Storage. |
TableStorageProvider | provider | Defines the provider used to build the instance. By default it is set to Azure Table Storage. |
Returns
Type | Description |
---|---|
ITableStorageClient<TElement> | ITableStorageClient instance based on the passed-in provider. |
Type Parameters
Name | Description |
---|---|
TElement | The type of table entity. |