Created
January 26, 2012 17:43
-
-
Save awithy/1683982 to your computer and use it in GitHub Desktop.
ITableStorageService
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface ITableStorageService | |
{ | |
T Get<T>(TableUri tableUri, string partitionKey, string rowKey) where T : TableEntityBase; | |
void Put<T>(TableUri tableUri, T entity) where T : TableEntityBase; | |
void CreateTableIfNotExist(TableUri tableUri); | |
void Delete<T>(TableUri tableUri, string partitionKey, string rowKey) where T : TableEntityBase; | |
void BulkDelete<T>(TableUri tableUri, string partitionKey, Func<T, bool> entityPredicate) where T : TableEntityBase; | |
IEnumerable<T> GetAll<T>(TableUri tableUri, string partitionKey) where T : TableEntityBase; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment