public void SelectAllColumnsFromSource(ObjectName tableName) { // Attempt to find the table in the from set. string schema = null; if (tableName.Parent != null) { schema = tableName.Parent.Name; } IFromTableSource table = fromSet.FindTable(schema, tableName.Name); if (table == null) { throw new InvalidOperationException(tableName + ".* is not a valid reference."); } AddAllFromTable(table); }