Exemplo n.º 1
0
        internal SqlTableLikeSource(
            int id,
            SqlValuesTable sourceEnumerable,
            SelectQuery sourceQuery,
            IEnumerable <SqlField> sourceFields)
        {
            SourceID         = id;
            SourceEnumerable = sourceEnumerable;
            SourceQuery      = sourceQuery;

            foreach (var field in sourceFields)
            {
                AddField(field);
            }
        }
Exemplo n.º 2
0
        void Visit1X(SqlValuesTable element)
        {
            foreach (var field in element.Fields.Values)
            {
                Visit1(field);
            }

            foreach (var row in element.Rows)
            {
                foreach (var value in row)
                {
                    Visit1(value);
                }
            }
        }
Exemplo n.º 3
0
        void VisitX(SqlValuesTable element)
        {
            foreach (var field in element.Fields)
            {
                Visit(field);
            }

            if (element.Rows != null)
            {
                foreach (var row in element.Rows)
                {
                    foreach (var value in row)
                    {
                        Visit(value);
                    }
                }
            }
        }