示例#1
0
 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);
     }
 }
示例#2
0
 public ViewSchema(DAE.Schema.Object AObject, CatalogSchema ACatalog) : base(AObject, ACatalog)
 {
 }
示例#3
0
 public TableSchema(DAE.Schema.Object AObject, CatalogSchema ACatalog) : base(AObject, ACatalog)
 {
 }
示例#4
0
 public OperatorSchema(DAE.Schema.Object AObject, CatalogSchema ACatalog) : base(AObject, ACatalog)
 {
 }
示例#5
0
 public ObjectSchema(DAE.Schema.Object AObject, CatalogSchema ACatalog)
 {
     FObject  = AObject;
     FCatalog = ACatalog;
 }