public virtual ISqlNode VisitObjectIdentifier(SqlObjectIdentifierNode n)
        {
            var server = Visit(n.Server) as SqlIdentifierNode;
            var db     = Visit(n.Database) as SqlIdentifierNode;
            var schema = Visit(n.Schema) as SqlIdentifierNode;
            var name   = Visit(n.Name) as SqlIdentifierNode;

            return(n.Update(server, db, schema, name));
        }
Beispiel #2
0
 public override ISqlNode VisitObjectIdentifier(SqlObjectIdentifierNode n)
 {
     // Treat the object identifier as a single atomic value for the purposes of
     // the symbol table
     // TODO: How to handle correctly? We might refer to x.Id in one place but just
     // "Id" later so if we just see "Id" we might want to also see anything that
     // ends in ".Id" (and if more than one, we might want to complain about being
     // unable to pick)
     Current.GetInfoOrThrow(n.ToString(), n.Location);
     return(n);
 }
Beispiel #3
0
        public ISqlNode VisitObjectIdentifier(SqlObjectIdentifierNode n)
        {
            if (n.Server != null)
            {
                Append(n.Server, ".");
            }

            if (n.Database != null)
            {
                Append(n.Database, ".");
            }

            if (n.Schema != null)
            {
                Append(n.Schema, ".");
            }

            Visit(n.Name);
            return(n);
        }
 public override ISqlNode VisitObjectIdentifier(SqlObjectIdentifierNode n)
 {
     return(base.VisitObjectIdentifier(n));
 }