protected CloudTableRepository(string tableName,
                                       ICloudStorageFactory cloudStorageFactory, ITableEntityProxyFactory tableEntityProxyFactory)
        {
            _cloudStorageFactory = cloudStorageFactory;
            _cloudTable          = _cloudStorageFactory.GetCloudTable(tableName);

            // is there still a synchronous version of this?
            _cloudTable.CreateIfNotExistsAsync().Wait();

            _tableEntityProxyFactory = tableEntityProxyFactory;
        }
 protected virtual void Dispose(bool disposing)
 {
     _cloudStorageFactory     = null;
     _cloudTable              = null;
     _tableEntityProxyFactory = null;
 }