Ejemplo n.º 1
0
 public JoinedTable(JoinedTable other)
 {
     SecondTable  = other.SecondTable.Clone() as SingleTable;
     FirstColumn  = other.FirstColumn.Clone() as ColumnRef;
     SecondColumn = other.SecondColumn.Clone() as ColumnRef;
     JoinType     = other.JoinType;
 }
Ejemplo n.º 2
0
 public JoinedTable()
 {
     SecondTable  = new TableSource();
     FirstColumn  = new ColumnRef("");
     SecondColumn = new ColumnRef("");
     JoinType     = JoinType.INNER;
 }
Ejemplo n.º 3
0
 public FromSource(FromSource other)
 {
     FirstTable   = other.FirstTable.Clone() as SingleTable;
     JoinedTables = new List <JoinedTable>();
     JoinedTables.AddRange(other.JoinedTables.Select(x => x.Clone() as JoinedTable));
 }
Ejemplo n.º 4
0
 public FromSource(SelectSubQuery subQuery)
 {
     FirstTable   = subQuery;
     JoinedTables = new List <JoinedTable>();
 }
Ejemplo n.º 5
0
 public FromSource(TableRef table)
 {
     FirstTable   = new TableSource(table);
     JoinedTables = new List <JoinedTable>();
 }
Ejemplo n.º 6
0
 public FromSource(string tableName = "")
 {
     FirstTable   = new TableSource(tableName);
     JoinedTables = new List <JoinedTable>();
 }