Example #1
0
        public IStorageAccount CreateAccountInstance(string accountName, ITableServerCommandFactory tableServerCommandFactory = null)
        {
            IStorageAccount storageAccount;

            try
            {
                IStorageAccount operationStatus = this.internalStamp.CreateAccountInstance(accountName, tableServerCommandFactory);
                StorageAccount  storageAccount1 = new StorageAccount(operationStatus);
                operationStatus.OperationStatus = this.OperationStatus;
                storageAccount = storageAccount1;
            }
            catch (Exception exception)
            {
                StorageStamp.TranslateException(exception);
                throw;
            }
            return(storageAccount);
        }
Example #2
0
 IStorageAccount Microsoft.Cis.Services.Nephos.Common.Storage.IStorageStamp.CreateAccountInstance(string accountName, ITableServerCommandFactory tableServerCommandFactory)
 {
     return(new DbStorageAccount(this, accountName));
 }