Ejemplo n.º 1
0
 protected internal virtual void VisitTableSourceList(TableSourceList list)
 {
     foreach (var item in list.Nodes)
     {
         Visit(item);
     }
 }
Ejemplo n.º 2
0
        internal TableSourceList Add(TableSourceBase tableSource)
        {
            Argument.NotNull(tableSource, "tableSource");
            var selectList = new TableSourceList(InternalNodes.Add(tableSource));

            return(selectList);
        }
Ejemplo n.º 3
0
        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);
        }