public void ClearStructures() { this.TableList.Clear(); this.SequenceList.Clear(); this.TriggerLookup = null; this.IndexLookup = null; this.ConstraintLookup = null; this.ProcedureLookup = null; this.FunctionLookup = null; this.SequenceLookup = null; this.TableLookup = null; this.TypeLookup = null; }
public Schema(QNameManager.QName name, Grantee owner) { this.Name = name; this.TriggerLookup = new SchemaObjectSet(8); this.IndexLookup = new SchemaObjectSet(20); this.ConstraintLookup = new SchemaObjectSet(5); this.TableLookup = new SchemaObjectSet(3); this.SequenceLookup = new SchemaObjectSet(7); this.TypeLookup = new SchemaObjectSet(12); this.CharsetLookup = new SchemaObjectSet(14); this.CollationLookup = new SchemaObjectSet(15); this.ProcedureLookup = new SchemaObjectSet(0x11); this.FunctionLookup = new SchemaObjectSet(0x10); this.AggregateLookup = new SchemaObjectSet(0x1b); this.SpecificRoutineLookup = new SchemaObjectSet(0x18); this.AssertionLookup = new SchemaObjectSet(6); this.TableList = (HashMappedList <string, object>) this.TableLookup.Map; this.SequenceList = (HashMappedList <string, object>) this.SequenceLookup.Map; this.Owner = owner; name.Owner = owner; }