Class TableStorageStoreExtensions
Extension methods for Azure Table storage.
Inheritance
System.Object
TableStorageStoreExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Azure.BlobStorage
Assembly: Cqrs.Azure.BlobStorage.dll
Syntax
public static class TableStorageStoreExtensions
Methods
GetByKey<TData>(IDataStore<TData>)
Retrieves the data from Azure Storage by it's Microsoft.WindowsAzure.Storage.Table.TableEntity.PartitionKey.
Declaration
public static IEnumerable<TData> GetByKey<TData>(this IDataStore<TData> datastore)where TData : IEntity
Parameters
Type | Name | Description |
---|---|---|
IDataStore<TData> | datastore |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TData> |
Type Parameters
Name | Description |
---|---|
TData |
GetByKeyAndRow<TData>(IDataStore<TData>, Guid)
Retrieves the data from Azure Storage by it's Microsoft.WindowsAzure.Storage.Table.TableEntity.PartitionKey and Microsoft.WindowsAzure.Storage.Table.TableEntity.RowKey.
Declaration
public static TData GetByKeyAndRow<TData>(this IDataStore<TData> datastore, Guid rsn)where TData : IEntity
Parameters
Type | Name | Description |
---|---|---|
IDataStore<TData> | datastore | |
System.Guid | rsn |
Returns
Type | Description |
---|---|
TData |
Type Parameters
Name | Description |
---|---|
TData |