public PelicanContext(IPelicanConfiguration configuration) : base(configuration) { Configuration = configuration; var cloudStorageAccount = new CloudStorageAccount(new StorageCredentials(configuration.StorageAccount, configuration.StorageAccountKey), true); PelicanCustomerTable = new PelicanCustomerTable(cloudStorageAccount, configuration.PelicanCustomerTableName); PelicanSaleTable = new PelicanSaleTable(cloudStorageAccount, configuration.PelicanSaleTableName); PelicanSaleableItemTable = new PelicanSaleableItemTable(cloudStorageAccount, configuration.PelicanSaleableItemTableName); QuantumAccountTable = new QuantumAccountTable(cloudStorageAccount, configuration.QuantumAccountTableName); QuantumCustomerTable = new QuantumCustomerTable(cloudStorageAccount, configuration.QuantumCustomerTableName); QuantumItemInvoiceTable = new QuantumItemInvoiceTable(cloudStorageAccount, configuration.QuantumItemInvoiceTableName); QuantumItemTable = new QuantumItemTable(cloudStorageAccount, configuration.QuantumItemTableName); ClientKey = configuration.ClientKey; ClientSecret = configuration.ClientSecret; RedirectUrl = configuration.RedirectUrl; CompanyFileId = Guid.Parse(configuration.CompanyFileId); }