コード例 #1
0
        public void DeleteTable(IQTable table)
        {
            var tableId = table.TableId;
            if (!_qbDataTables.ContainsKey(tableId))
            {
                throw new TableDoesNotExistInQuickBase("Table does not exist in this instance of QApplication.");
            }
            var deleteTbl = new DeleteDatabase(Client.Ticket, Token, Client.AccountDomain, tableId);
            deleteTbl.Post();

            _qbDataTables.Remove(tableId);
        }
コード例 #2
0
        public void DeleteApplication()
        {
            var deleteApp = new DeleteDatabase(Client.Ticket, Token, Client.AccountDomain, ApplicationId);
            deleteApp.Post();

            Token = null;
            ApplicationId = null;
            ApplicationName = null;
            _qbDataTables.Clear();
        }