public void DropMethods() { Console.WriteLine("Dropping methods"); Console.WriteLine("Dropping procedures"); StoredProcedures.ForEach(p => p.Drop()); Console.WriteLine("Dropping views"); Views.ForEach(v => v.Drop()); Console.WriteLine("Dropping user defined functions"); UserDefinedFunctions.ForEach(f => f.Drop()); Console.WriteLine("Dropping triggers"); TableTriggers.ForEach(t => t.Drop()); Console.WriteLine("Dropping user defined functions"); UserDefinedAggregates.ForEach(t => t.Drop()); }