private void AllSequences() { RaiseReadingProgress(SchemaObjectType.Sequences); var sequences = _schemaReader.Sequences(); ReaderEventArgs.RaiseEvent(ReaderProgress, this, ProgressType.Processing, SchemaObjectType.Sequences); DatabaseSchema.Sequences.Clear(); DatabaseSchema.Sequences.AddRange(SchemaProcedureConverter.Sequences(sequences)); }
/// <summary> /// Gets all of the schema in one call. /// </summary> /// <returns></returns> public DatabaseSchema ReadAll() { _fixUp = false; DataTypes(); AllUsers(); AllTables(); AllViews(); AllStoredProcedures(); //oracle extra DatabaseSchema.Sequences.Clear(); var sequences = _sr.Sequences(); DatabaseSchema.Sequences.AddRange(SchemaProcedureConverter.Sequences(sequences)); _fixUp = true; UpdateReferences(); return(_db); }