private ObjectSchema GetObject() { DAE.Schema.Object LObject = FCatalog.Catalog[FIndex]; if (LObject is BaseTableVar) { return(new TableSchema(LObject, FCatalog)); } else if (LObject is DerivedTableVar) { return(new ViewSchema(LObject, FCatalog)); } else if (LObject is Operator) { return(new OperatorSchema(LObject, FCatalog)); } else { return(null); } }
public ViewSchema(DAE.Schema.Object AObject, CatalogSchema ACatalog) : base(AObject, ACatalog) { }
public TableSchema(DAE.Schema.Object AObject, CatalogSchema ACatalog) : base(AObject, ACatalog) { }
public OperatorSchema(DAE.Schema.Object AObject, CatalogSchema ACatalog) : base(AObject, ACatalog) { }
public ObjectSchema(DAE.Schema.Object AObject, CatalogSchema ACatalog) { FObject = AObject; FCatalog = ACatalog; }