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; }
public JoinedTable() { SecondTable = new TableSource(); FirstColumn = new ColumnRef(""); SecondColumn = new ColumnRef(""); JoinType = JoinType.INNER; }
public FromSource(FromSource other) { FirstTable = other.FirstTable.Clone() as SingleTable; JoinedTables = new List <JoinedTable>(); JoinedTables.AddRange(other.JoinedTables.Select(x => x.Clone() as JoinedTable)); }
public FromSource(SelectSubQuery subQuery) { FirstTable = subQuery; JoinedTables = new List <JoinedTable>(); }
public FromSource(TableRef table) { FirstTable = new TableSource(table); JoinedTables = new List <JoinedTable>(); }
public FromSource(string tableName = "") { FirstTable = new TableSource(tableName); JoinedTables = new List <JoinedTable>(); }