Beispiel #1
0
 public QueryExecution(string queryString, ProbDatabase probDatabase)
 {
     this.selectedRelations  = new List <ProbRelation>();
     this.selectedAttributes = new List <ProbAttribute>();
     this.relationResult     = new ProbRelation();
     this.probDatabase       = probDatabase;
     this.queryString        = StandardizeQuery(queryString);
     this.flagNaturalJoin    = false;
 }
Beispiel #2
0
 public ProbDatabase(ProbDatabase probDatabase)
 {
     this.DBPath        = probDatabase.DBPath;
     this.DBName        = probDatabase.DBName;
     this.ConnectString = probDatabase.ConnectString;
     this.DataSet       = probDatabase.DataSet;
     this.Relations     = probDatabase.Relations;
     this.Queries       = probDatabase.Queries;
     this.Schemes       = probDatabase.Schemes;
 }