public static IQueryable <T> Query <T>(this StorageContext context, string partitionKey, int maxItems = 0, TableContinuationToken continuationToken = null) where T : new() { return(context.QueryAsync <T>(partitionKey, maxItems, continuationToken).GetAwaiter().GetResult()); }
public static T Query <T>(this StorageContext context, string partitionKey, string rowKey) where T : new() { return(context.QueryAsync <T>(partitionKey, rowKey).GetAwaiter().GetResult()); }