예제 #1
0
 public override void DoTable(Parse table)
 {
     if (isStandAlone)
     {
         SetCollection(DatabaseTest.GetDataTable(
                           Symbols,
                           GetArgumentInput <String>(0),
                           DbEnvironmentFactory.DefaultEnvironment).Rows.GetEnumerator());
     }
     base.DoTable(table);
 }
 public override void DoTable(Parse table)
 {
     if (query == null || symbolName == null)
     {
         if (Args.Length < 2)
         {
             throw new ApplicationException("No query and symbol name specified to StoreQuery constructor or argument list");
         }
         query      = Args[0];
         symbolName = Args[1];
     }
     if (symbolName.StartsWith(">>"))
     {
         symbolName = symbolName.Substring(2);
     }
     Symbols.Save(symbolName, DatabaseTest.GetDataTable(Symbols, query, dbEnvironment));
 }