예제 #1
0
        public SqlRawSqlTable(SqlRawSqlTable table, ISqlExpression[] parameters)
        {
            Alias    = table.Alias;
            Server   = table.Server;
            Database = table.Database;
            Schema   = table.Schema;

            PhysicalName       = table.PhysicalName;
            ObjectType         = table.ObjectType;
            SequenceAttributes = table.SequenceAttributes;

            SQL        = table.SQL;
            Parameters = parameters;
        }
예제 #2
0
        public SqlRawSqlTable(SqlRawSqlTable table, IEnumerable <SqlField> fields, ISqlExpression[] parameters)
        {
            Alias    = table.Alias;
            Database = table.Database;
            Schema   = table.Schema;

            PhysicalName       = table.PhysicalName;
            ObjectType         = table.ObjectType;
            SequenceAttributes = table.SequenceAttributes;

            SQL        = table.SQL;
            Parameters = parameters;

            AddRange(fields);
        }
예제 #3
0
        void VisitX(SqlRawSqlTable table)
        {
            Visit(table.All);
            foreach (var field in table.Fields)
            {
                Visit(field);
            }

            if (table.Parameters != null)
            {
                foreach (var a in table.Parameters)
                {
                    Visit(a);
                }
            }
        }