public void RemoveTable(TableServiceSchema table) { if (table == null) throw new ArgumentNullException("table", "The table to remove cannot be null"); this.AttachTo("Tables", table); this.DeleteObject(table); }
public void AddTable(TableServiceSchema table) { if (table == null) throw new ArgumentNullException("table", "The table to add cannot be null"); if (string.IsNullOrWhiteSpace(table.TableName)) throw new ArgumentException("You need to provide a valid name for the new table", "table"); this.AddObject("Tables", table); }