public AbstractTableJoin(TableAlias table1, TableAlias table2, string field1, string field2)
 {
     this.table1 = table1;
     this.table2 = table2;
     this.field1 = field1;
     this.field2 = field2;
 }
示例#2
0
 public NoJoin(TableAlias table1, TableAlias table2)
 {
     this.table1 = table1;
     this.table2 = table2;
 }
示例#3
0
 public InnerJoin(TableAlias table1, TableAlias table2, string field1, string field2)
     : base(table1, table2, field1, field2)
 {
 }
 /// <summary>
 /// Add a table that fields can be selected from
 /// </summary>
 /// <param name="tableName">The name of the table to add</param>
 public void AddTable(string tableName)
 {
     this.aliasCounter++;
     var alias = new TableAlias(tableName, Convert.ToChar(aliasCounter + 64).ToString());
     this.tables.Add(tableName, alias);
 }