protected internal virtual void VisitTableSourceList(TableSourceList list) { foreach (var item in list.Nodes) { Visit(item); } }
internal TableSourceList Add(TableSourceBase tableSource) { Argument.NotNull(tableSource, "tableSource"); var selectList = new TableSourceList(InternalNodes.Add(tableSource)); return(selectList); }
internal TableSourceList ReplaceLast(TableSourceBase tableSource) { Argument.NotNull(tableSource, "tableSource"); if (InternalNodes.Count == 0) { throw new InvalidOperationException("Couldn't do ReplaceLast for empty list."); } var selectList = new TableSourceList(InternalNodes.SetItem(InternalNodes.Count - 1, tableSource)); return(selectList); }