/// <summary>
        /// Clear all database tables except audit log.
        /// </summary>
        public virtual void ClearTables(ConsoleLog log)
        {
            Utility bla = new Utility();

            bla.ClearTable("SQL.PackageDefinitions");
            bla.ClearTable("SQL.TableDefinitions");
            bla.ClearTable("SQL.TableForeignConstraints");
            bla.ClearTable("SQL.FunctionDefinitions");
            bla.ClearTable("Admin.Buckets");
            bla.ClearTable("Admin.Entities");
            bla.ClearTable("Admin.EntityRelationships");
            bla.ClearTable("Admin.Interfaces");
            bla.ClearTable("Admin.InternalInterfaces");
        }
Exemple #2
0
        private void ClearTables()
        {
            Utility bla = new Utility();

            bla.ClearTable("Admin.Buckets");
            bla.ClearTable("Admin.Interfaces");
            bla.ClearTable("Admin.InternalInterfaces");
            bla.ClearTable("Admin.EntityResidence");
            bla.ClearTable("Admin.InterfaceReporting");
            bla.ClearTable("Admin.BucketReporting");
            bla.ClearTable("Admin.BucketConnection");
        }