Beispiel #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;
        }
Beispiel #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);
        }
Beispiel #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);
                }
            }
        }